Information générale
Catégorie:
Fonctions Windows API
>>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
Thanks,
I'll give this a try.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement