Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook automation by folder's name
Message
 
 
À
23/04/2003 23:04:49
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00780973
Message ID:
00780977
Vues:
21
>>Would this help?
#DEFINE ccOlFolderCalendar		9
>>#DEFINE ccOlFolderContacts		10
>>#DEFINE ccOlFolderDeletedItems	        3
>>#DEFINE ccOlFolderDrafts		16
>>#DEFINE ccOlFolderInbox			6
>>#DEFINE ccOlFolderJournal		11
>>#DEFINE ccOlFolderNotes			12
>>#DEFINE ccOlFolderOutbox		4
>>#DEFINE ccOlFolderSentMail		5
>>#DEFINE ccOlFolderTasks			13
>>
>
>Yes, I figured out that specific ID are reserved for base folders. But, what about the ones I created. Those are the ones that interest me. I need to scan thru all the messages for a folder named "Michel Fournier", for example.

For nondefault folder, you can use the Folders collection.
loInbox=loNS.GetDefaultFolder(ccOlFolderInbox)
oMFfolder = loInbox.Folders("Michel Fournier")
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform