Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Folders in Microsoft Exchange Programatically
Message
De
26/06/1998 03:16:21
 
 
À
25/06/1998 13:59:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00105841
Message ID:
00111846
Vues:
22
>>app_out = createobject("outlook.application")
>>lista_carpetas = app_out.GetNameSpace("MAPI") && folders area
>>bandeja = lista_carpetas.GetDefaultFolder(6) && inbox folder
>>bandeja.folders.add("pepito") && create a new folder
>>release app_out && release object
>>
>>hope this helps. You can find much information about Visual basic for outlook in the file vbaout.hlp
>
>Dear Carlos ;
>
>The solution you sent got me started on the right path, however I can only create folders within my personal Folders, Not in the Public Folders area... Any clues on how to do that?

Well, if you're reffering to the shared folders, folowing the previous sample

lista_carpetas.folders(1) will be the shared folders first level
lista_carpetas.folders(2) will be the personal folders first level.

But i think you have better answers to all this questions in the help file of vba for outlook. The file comes with the office cd, even he is not installed automatically. The name is something like vbaout8.hlp. Of course i'm very glad to help you if i can.

Carlos.
Saludos,
A.G.P.
---------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform