> Firstly, GetDefaultFolder will return a default folder from the default
> store, not somebody's else mailbox.
> Secondly, 0 is not a valid enum for GetDefaultFolder. If you need to open
> the Calendar folder, you need to specify olFolderCalendar (=9) constant.
>
> Dmitry Streblechenko (MVP)
>
http://www.dimastr.com/> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Alex Yakhnin" <a.yakhnin[ at ]online.att.net> wrote in message
> news:F33FE0A7-A903-49C0-BE6A-B82BB3DCF8CE[ at ]microsoft.com...
>> It fails when I make a call to GetDefaultFolder(0) on the session object.
>>
>> --
>> --
>> Alex Yakhnin, Device Application Developer MVP
>>
http://blog.opennetcf.org/ayakhnin>>
>>
>> "Dmitry Streblechenko" <dmitry[ at ]dimastr.com> wrote in message
>> news:uo2NknqMHHA.2028[ at ]TK2MSFTNGP03.phx.gbl...
>>> Do you specify both the folder and store entry ids?
>>>
>>> Dmitry Streblechenko (MVP)
>>>
http://www.dimastr.com/>>> OutlookSpy - Outlook, CDO
>>> and MAPI Developer Tool
>>>
>>> "Alex Yakhnin" <a.yakhnin[ at ]online.att.net> wrote in message
>>> news:4BE9FDBC-9B89-41A0-8678-4651FEDFD132[ at ]microsoft.com...
>>>>I am trying to open other user's calendar using CDO and getting the
>>>>MAPI_E_NOT_FOUND (8004010F) exception. I have a full access to her mail
>>>>box and verified that I can successfully open Inbox and Outbox from the
>>>>CDO. The code worked fine against Exchange 2007 Beta 2 and it doesn't
>>>>with the RTM. The CDO session is openned anonymously.
>>>>
>>>> Any ideas?
>>>>
>>>> Thx... Alex
>>>> --
>>>> Alex Yakhnin, Device Application Developer MVP
>>>>
http://blog.opennetcf.org/ayakhnin>>>>
>>>
>>>
>>
>
>