Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Wed, 13 Dec 2006 22:06:31 +0100,    group: microsoft.public.platformsdk.messaging        back       


Server Busy when opening address book in custom form   
When I click on the "To..." button in a new message in Outlook 2003, then 
the address book opens as a modal dialog to select some names. I want to do 
the same in a custom C++ MAPI form. I call pSession->OpenAddressBook and 
then LPADRBOOK->Address() to open the dialog. This works. Problem is, that 
after about ten seconds I receive a dialog "Server Busy" with the text "This 
action cannot be completed because the "Inbox - Microsoft Outlook" program 
is not responding. Choose "Switch To" and correct the problem." (see 
screenshot attached). This happens even when I don't do anything in the 
address book chooser dialog. I need a modal dialog there (same as in the new 
mail form). What might be wrong? If you've done this successfully yet: What 
parameters have you used in ADRPARM?

Eric
date: Wed, 13 Dec 2006 22:06:31 +0100   author:   Eric

Re: Server Busy when opening address book in custom form   
Not tested yet, but it looks like the solution MS Support provided will be 
ok: see KB article
http://support.microsoft.com/kb/248019/en-us
A shame that I didn't find this article before.
-> call the next line before calling pab->Address()
AfxOleGetMessageFilter()->EnableNotRespondingDialog(FALSE);

Eric
date: Thu, 28 Dec 2006 22:53:18 +0100   author:   Eric

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us