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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invite a shared calendar from my shared calendar Deb at work General Software 4 26th Oct 2012 08:39 PM
SharePoint Calendar vs Exchange User's Shared Calendar vs ExchangePublic Folder of Calendar Items Jeff Microsoft Outlook Calendar 1 3rd Mar 2008 08:03 PM
Copying shared calendar items to personal calendar =?Utf-8?B?UGhpbA==?= Microsoft Outlook Calendar 2 12th Aug 2005 03:03 PM
display shared team calendar items on personal calendar =?Utf-8?B?ZHZhbmRlcmJvb20=?= Microsoft Outlook Calendar 0 4th May 2005 07:32 PM
Feasibility Question: Possible to pull Calendar Items from shared calendar? Paul Thompson Microsoft Outlook VBA Programming 1 4th May 2004 12:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:50 PM.