Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find Outlook appointment and update/delete it
Message
From
25/06/2002 09:59:49
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00669711
Message ID:
00671997
Views:
26
This message has been marked as the solution to the initial question of the thread.
>Getting closer but still having trouble creating the appointment item in the "subcalendar" folder. Am able to check for and create a subfolder of the "Calendar" folder. And the "FIND" is working (am storing a PK value into the appointment's LOCATION field so that i can search for it later). But have tried several different versions of the CREATEITEMS command, trying to get the new appointment created in the ACME5 subfolder, but no luck. Its always created in the default cal folder.
>
>I need to have the command:
oAppt1 = oOutlook.CreateItem( olAppointmentItem )
create the item in the ACME5 subcal folder. Am using the following:

Use the Add method of the folder itself, rather than CreateItem. One you have a reference to your folder, do:

oAppt1 = oFolder.Items.Add()

Then, fill in the appointment and save it.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform