Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking if another application it's open
Message
 
To
14/03/1998 06:51:02
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00084673
Message ID:
00084677
Views:
24
>I want know how can I do to check if another application it's open,
>for example: MSPaint.EXE
>
>I'm working with a form that contains a image control and when I click
>in that MSPaint is open, if user click again, I don't want open MSPaint again.

Hi Barros,

You can user GETOBJECT function to get current instance of an application
For example,
To get the Current Instance of MS Word

LOCAL loword
loword = GETOBJECT('word.basic')

For further detail, See the help of GETOBJECT Function

Bye
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform