Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook - creating personal folders
Message
 
Information générale
Forum:
Visual Basic
Catégorie:
COM, DCOM et OLE automation
Divers
Thread ID:
00587719
Message ID:
00588553
Vues:
26
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform