PC Review


Reply
Thread Tools Rate Thread

Accessing Shared Calendar items

 
 
New Member
Join Date: Nov 2011
Posts: 1
 
      15th Nov 2011
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:12 PM.