Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create folder in outlook automation
Message
 
 
To
10/10/2010 17:26:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01484646
Message ID:
01484651
Views:
42
>is there a way to create a new folder using outlook automation along the same lines as [move message] command below?
>tnks
>k
>
>
>
>=loMSG.Move(loNameSpace.Folders["Personal Folders"].Folders["InboxTemp"])
>
Translate VB code to VFP
Dim Inbox as Outlook.Mapifolder
Dim Subfolder as Outlook.Mapifolder

Set Inbox=Applcation.Session.Getdefaultfolder(olFolderInbox)
Set Subfolder=Inbox.Folders.Add("my first new folder")
found at http://www.eggheadcafe.com/software/aspnet/34232096/creating-mulitple-subfolders.aspx
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform