Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Outlook question
Message
De
04/09/2001 13:03:07
 
 
À
04/09/2001 11:06:30
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00552068
Message ID:
00552157
Vues:
15
Hi Eric,

>>>>I am trying to create a folder under Contacts called "Personal", I want to
do this through vfp 6.0. Any ideas?

Off the top of my head, untested (I have Groupwise at work) and just enough to get you started.

loOutlook = createobject("outlook.application")
loNS = loOutlook.GetNameSpace("MAPI")
loContacts = loNS.GetDefaultFolder(10) &&should use a constant
loContacts.Folders.Add("Personal")

HTH

pamela
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform