Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook - creating personal folders
Message
From
02/12/2001 18:51:48
 
General information
Forum:
Visual Basic
Category:
COM, DCOM and OLE automation
Miscellaneous
Thread ID:
00587719
Message ID:
00588553
Views:
25
>I have an application that accepts emails from a client and inserts them into a database. For archival purposes, I would like to create a personal folder for a month's worth of emails and burn the .pst file onto a cd. Has anyone had any experience with using the Outlook automation through VB for creating personal folders, and then detaching them from Outlook?
>
>Thanks, Jesse

Hi Jesse,

Manipulating Outlook from VB is really quite trivial when you use Collaborative Data Objects (CDO). You just create an instance of Outlook, and add an item with the required type to the message folders collection. CDO provides all of the PEMs you need to do this.

There'll be lots of sample code on the MSDN website showing you how to do this. If you cannot find any, let me know. The project I am working on now does extensive Outlook 2000/XP manipulation from VB.
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Previous
Reply
Map
View

Click here to load this message in the networking platform