Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing MS Exchange folders from VFP
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Accessing MS Exchange folders from VFP
Divers
Thread ID:
00846696
Message ID:
00846696
Vues:
62
I am trying to create a synchronization program that will work with both Outlook personal folders and exchange folders. Working with personal folders is no problem using getdefaultfolder() method, but I can't find a folder that relates to my exchange folders. I can use the pickfolder() method to find the folder I want, which will give me an ID, but I want something that could be more easily transferred to other servers (which would likely have other ID's for the same folders). Here's the code I'm using so far:
l_outapp = CREATEOBJECT("Outlook.Application")
l_outns = l_outapp.GetNamespace("MAPI")

* following opens the default contacts folder in personal folders
lt = l_outns.GetDefaultFolder(10)        
The fullpath of the above code returns //Personal Folders/Contacts

If I use the pickfolder() method (which pops up a modal dialog to pick the folder, like fileopen()), then the path returned is //Mailbox - Steve Howie/Contacts
This is correct.

How do I open the exchange mailbox without having a modal dialog popup?

Thanks in advance
Steve Howie, owner
DaSH Technology
Denver, CO
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform