View Single Post
  #3  
Old February 26th 09, 03:26 PM posted to microsoft.public.outlook.program_addins
DamanPradhan via OfficeKB.com
external usenet poster
 
Posts: 4
Default OpenMsgStore exception

Hi,

I just happened to come across this link which does pretty much what I want :

http://www.tech-archive.net/Archive/...4-08/0057.html


Dmitry says :

"Open the global profile secition (pbGlobalProfileSectionGuid), and set
PR_PROFILE_CONFIG_FLAGS to CONFIG_SHOW_CONNECT_UI |
CONFIG_PROMPT_FOR_CREDENTIALS"

I'm a newbie to MAPI and could not pin point how to open the Global Profile
Section mentioned here. Specifically, I found OpenProfileSection() in 3
namespaces :

MapiSession, MsgServiceAdmin and ProviderAdmin.

Which of these namespaces do i use ?

Also, in calls to OpenProfileSection(), there is a UID argument that has to
be passed. Where do I get the UID from ? Also, can anyone please let me know
whats the second argument in the following API ?

public MAPI33.Error MsgServiceAdmin.OpenProfileSection(System.Guid UID,
System.Guid Interface, __MAPI33__INTERNALS__.MsgServiceAdmin.FLAGS Flags, out
MAPI33.IProfSect PrfSect)


Thanks in advance !
Daman

DamanPradhan wrote:
Just noticed that the username / password box pops up on a Windows Server
2003 machine and does not on a XP system. Is there some sort of a system
setting that needs to be changed somewhere ?

Regards,
Daman

Hi,

[quoted text clipped - 15 lines]

Thanks in advance !!!



--
Message posted via http://www.officekb.com

Ads