View Single Post
 
Old 10-15-2009, 06:36 AM
humpra humpra is offline Windows Vista Office 2007
Novice
 
Join Date: Oct 2009
Posts: 3
humpra is on a distinguished road
Default Modify an AppointmentItem in someone else's Calendar

Hi all,

I am designing an Outlook Form based on the "Vacation Request Forms" provided by Microsoft.
By performing an vacation request, I do create an appointment in the requester's calendar and send an message to the department boss.
The boss can deny or approve the vacation request.
By approving the subject of the appointmentitem will be modified.
By denying the appointmentitem will be deleted.
Everything is working fine if I do this local (only with my account)!

But if I try to this together with a collegue, it seems that I can not find the appointmentitem or the access is restricted!

The form crashes at this:
Set apti = Application.GetNameSpace("MAPI").GetItemFromID(str EntryId)
with an operation failed exception. (strEntryId is available!)

Can somebody please instruct me or give the right code snippet, that I can access the appointment in someone else's calendar?

I appreciate any help!

Best Regards from Germany,
Ralf
Reply With Quote