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.
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
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