Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find Outlook appointment and update/delete it
Message
De
25/06/2002 09:59:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00669711
Message ID:
00671997
Vues:
27
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform