Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if an external app is running!
Message
De
29/05/1997 11:11:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00034052
Message ID:
00034055
Vues:
28
>I think there was a thread on this subject a few days ago. I missed that. Can somebody kindly repost the solution? I am looking for a way to determine, from within VFP, if another Windows application is running or not. If the app is not running, then I want to start it up.
>
>Thanks a lot

Probably, I missed that thread too. But you could use FindWindow Api call:
DECLARE INTEGER FindWindow IN win32api INTEGER,STRING
if FindWindow(0,cApptitle)>0
=messagebox("app running")
else
RUN app.exe
endif
CLEAR DLLS
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform