Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Outlook through VFP to get to the Public Folders C
Message
From
24/10/2000 18:07:35
 
 
To
24/10/2000 16:43:38
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00433781
Message ID:
00433822
Views:
9
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
Previous
Reply
Map
View

Click here to load this message in the networking platform