Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Outlook through VFP to get to the Public Folders C
Message
De
24/10/2000 18:07:35
 
 
À
24/10/2000 16:43:38
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00433781
Message ID:
00433822
Vues:
10
Richard,

>I am creating an App which will navigate to the Public Folders collection on our Exchange server, however I cannot navigate to the Public Folders collection through Code.

Try this, which works with my Outlook 98 installation against Exchange Server:
ol=createobject("outlook.application")
ons=ol.getnamespace("MAPI")

* set references to public folders
oAllPub=ons.folders("Public Folders").folders("All Public Folders")
oYourFolder=oAllPub.folders("Your Folder Name")
oAnotherFolderInsideThatOne=oYourFolder.folders("Another Folder")
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform