Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to see if an APP is running?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00500554
Message ID:
00500562
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>I need to check if an application is running called questpdm.exe
>
>My first try was to use:
>
>DECLARE INTEGER FindWindow IN WIN32API INTEGER, STRING
>lnHandle = FindWindow(NULLPOINTER, "QuestPDM")
>
>But the problem is the title bar contains
>"QuestPDM - BrandName - UserName"
>
>So this doesn't work.
>
>Is there a way to check running tasks for any occurances of questpdm.exe
>or a way to do the above check on a substring of the actual title or
>perhaps a better way to detect of the application is running. There could be several occurances of the same application.

Try "Is a Windows Application Running?". It's not case sensitive and only the known portion of the window's title bar is required.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform