Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell if Microsoft Outlook is running?
Message
De
21/07/2002 22:53:58
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00680980
Message ID:
00680983
Vues:
20
>Hi all -
>
>I would like to be able to tell--within a VFP 6.0/7.0 application--whether MS Outlook is also running on the user's workstation. If Outlook is NOT running, I would like to start it.
>
>What is the best way to accomplish this?

Here's one solution:
o=CreateObject("WScript.Shell")
IF !o.AppActivate('outlook')
  o.Run('outlook')
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform