Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Outlook question
Message
From
04/09/2001 13:03:07
 
 
To
04/09/2001 11:06:30
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00552068
Message ID:
00552157
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform