Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAPI session logon

Status
Not open for further replies.

flantermaus

Technical User
Jun 13, 2003
2
LU
Is it possible to logon to a MAPIsession with the default profilename on that workstation?

This means without Microsoft Exchange prompting you for the profile to use?
 
get info out of registry:
Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles

or

Software\Microsoft\Windows Messaging Subsystem\Profiles
 
flantermaus,

If the name of the email client is known I think you can use the Username property of the MAPISession control as in MAPISession.UserName = "Outlook" and the profile dialog is not shown. If the named client cannot be found you get an error.

I have never used the above though. I had similar issues with the profile dialog displaying when I first began working with XP, never had them on Win 2000. However for me after some XP Service pack or other the profile dialog stopped displaying on XP. Outlook (my default client)is coming straight up now without the profile dialog.
Is your system XP and is it fully service packed. Ref Outlook 2002 SP3

regards Hugh,

 
flantermaus,

My previous relates to VB6 usage, forgot where I was..
You may find some of it useful though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top