find out if an executable is running

HMG en Español

Moderator: Rathinagiri

Post Reply
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

find out if an executable is running

Post by andyglezl »

Alguien sabe si hay alguna forma de saber si un ejecutable está corriendo por medio de su nombre ???
Gracias
*-----------------------------------------------------------------------------------------------------------------------------
Does anyone know if there is any way to know if an executable is running by means of its name ???
Thanks

IF "NameExecutableIsRunning.EXE"
...
ELSE
...
ENDIF


OK, encontré esto, voy a probarlo...
*-------------------------------------------------
OK, I found this, I'm going to try it...

https://hmgforum.com/viewtopic.php?f=5& ... ing#p67436


OK, Funciona !
*------------------
OK, it works !

Thanks edk
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
serge_girard
Posts: 3342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: find out if an executable is running

Post by serge_girard »

IF IsAppRunning( cCurrApp )
MsgSTop( cCurrApp + " is already running !", "Quitting...")
QUIT
ENDIF
There's nothing you can do that can't be done...
Post Reply