![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi All,
I have a Visual Basic application which has the below code Set Session = New MAPI.Session ProfileInfo = ExchangeServer & vbLf & UserId Call Session.Logon(, , False, , , , sProfileInfo) Set Contacts = Session.GetDefaultFolder(CdoDefaultFolderContacts) It is working fine in my PC with WINDOWS XP Professional and OUTLOOK 2003. But the "Set oContacts = ..", given in the above coding snapshot returns an error message, in one of the user's PC. The error is happening in a system with WINDOWS 2003 and OUTLOOK 2007. When I replace the statement "Call oSession.Logon(, , False, , , , sProfileInfo)" with the statement as Call oSession.Logon(, , True, False), it is working fine Can anyone tell me, why this is happening, is it some envvironment issue? I cant change the code in the application, since this is the only user, who is having the problem and the others (I hope all are using WINDOWS XP, with OUTLOOK 2003) are not having the problem. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CDO Outlook security prompt hangs, vb script Mapi Session | [email protected] | Outlook and VBA | 2 | April 17th 08 11:03 AM |
OLK2007 : The Oper Failed : Application.CreateObject("MAPI.Session | Bill Billmire | Outlook - Using Forms | 3 | January 7th 07 01:02 AM |
Redemption+CBuilder: RDOSession.Logon MAPILogonEx-Error | [email protected] | Add-ins for Outlook | 2 | September 1st 06 08:32 AM |
MAPI error | jackie | Outlook - Using Forms | 0 | August 18th 06 04:28 PM |
Error creating an MAPI session | Dominique Schroeder | Outlook - Using Forms | 1 | March 7th 06 02:25 PM |