Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell if Microsoft Outlook is running?
Message
From
21/07/2002 22:53:58
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00680980
Message ID:
00680983
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform