N
news.microsoft.com
Hello!
I run the following code:
Dim oSession As MAPI.Session
Dim oFolder As MAPI.Folder
Set oSession = CreateObject("MAPI.Session")
oSession.Logon psProfileName, psProfilePassword, False, True, , ,
psProfileInfo
Set oFolder = oSession.GetDefaultFolder(CdoDefaultFolderCalendar)
It works fine on Outlook 2000 and Exchange 2000
but it doesn´t seem to work on Outlook 2003 with Exchange 2003.
The last line fails with the message "Object doesn't support this property
or method".
Anyone have an idea?
/Erik Juhlin
I run the following code:
Dim oSession As MAPI.Session
Dim oFolder As MAPI.Folder
Set oSession = CreateObject("MAPI.Session")
oSession.Logon psProfileName, psProfilePassword, False, True, , ,
psProfileInfo
Set oFolder = oSession.GetDefaultFolder(CdoDefaultFolderCalendar)
It works fine on Outlook 2000 and Exchange 2000
but it doesn´t seem to work on Outlook 2003 with Exchange 2003.
The last line fails with the message "Object doesn't support this property
or method".
Anyone have an idea?
/Erik Juhlin