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:
00084680
Views:
26
>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.

There's a function that I've written (Is_Run/Is_Run32) that will allow you to determine if an application is already running. It's available in the Files section under Win32 and other APIs. The problem with GETOBJECT() is that it won't work unless the application is an OLE server.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform