Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing application desktop position
Message
 
 
À
17/10/2003 20:26:13
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00839960
Message ID:
00840227
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>Hi Everyone,
>
>Anybody know how to change the Outlook folder view to something else?
>
>Basically, what I wanted to do is that if there is currently running Outlook, in my VFP program, I will change the current folder view to Task List or to Calendar.

Try
oOL = GETOBJECT("", "Outlook.Application")
oNS = oOL.GetNamespace("MAPI")
* Get ACtive Explorer object
oAX = oOl.ActiveExplorer
* Change current folder to Calendar
oCF = oNS.GetDefaultFolder(10)		&& Calendar
oAx.CurrentFolder = oCF
oAx.Activate()
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform