Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking if another application it's open
Message
 
À
14/03/1998 06:51:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00084673
Message ID:
00084680
Vues:
30
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform