Accessing Shared Calendar items

Joined
Nov 15, 2011
Messages
1
Reaction score
0
Hi Experts,

I've got an add-in in which I would like to access shared calendar appointment items. I 've got he below code, however it doesn't work. As you can see I'm using Redemption. I have full rights to another user's calendar, I can create/delete/update calendar items in his calendar via Outlook 2007. However my add-in can't access the item.

Code:
Dim soSession As Redemption.RDOSession
Set soSession = CreateObject("OLR.RDOSession")
Call soSession.Logon(, , 0, 0, 0)
sOrigApptStoreID = m_objAppointmentItem.Parent.StoreID
sOrigApptEntryID = m_objAppointmentItem.EntryID
  
origMeeting = soSession.GetMessageFromID(sOrigApptEntryID)

GetMessageFromID throws below exception;
"Error in IMAPISession.OpenEntry: MAPI_E_UNKNOWN_ENTRYID"

However the EntryId is correct, I use OutlookSpy to verify the EntryId.

Please help, let me know what I'm doing wrong?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top