Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting access to a calendar in Outlook
Message
From
13/12/2010 08:18:11
Marcus Hüneke
Heidelberger Druckmaschinen
Wiesloch, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Getting access to a calendar in Outlook
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01492532
Message ID:
01492532
Views:
135
Hello,

hope somebody can help me. I'm searching for a solution to delete an appointment from a calendar in Outlook 2007.
What is just working is to create an appointment (with inviting a resource).
If somebody wants to change or delete the appointment I delete it in my Outlook Calendar. If I do this manually Outlook asks me if I want to send an "rejection" to the invited resource. In the resource-Calender I than can see that this appointment was cancelled.
If I delete ist via VFP with :

olFolderCalendar = 9
oNameSpace = oOutlook.getnamespace('MAPI')
oDefaultFolder=oNameSpace.GetDefaultFolder(olFolderCalendar)
oItems = oDefaultFolder.items
For ix = oItems.Count To 1 Step -1
If delete
lDelete = oItems.item(ix).delete
endif
NEXT ix

the appointment is deleted in my calendar but not in the calendar of the resource. No message is sent to it.
How can I delete the message from the resource calendar (I have access to it in Outlook) and how can I force Ourlook to send a "rejection" to the resource calendar.

Thanks in advance

Marcus
Next
Reply
Map
View

Click here to load this message in the networking platform