Hello,
How do I know which applications are running on TASK MANAGEMENT?
I need to know if a particular application is running on the task manager.
I would like to know the mysql process / service name
thank you
task manager
- Marc Venken
- Posts: 727
- Joined: Tue Jun 14, 2016 7:51 am
Re: task manager
Maybe this can help
Code: Select all
function getprogram()
CFILENAME := "TEST.EXE"
IF ISEXERUNNING( CFILENAME( HB_ARGV( 0 ) ) )
msginfo("Test is running","Title")
SHOWWINDOW( FINDWINDOW( 0, "TEST" ), 9 )
SETFOREGROUNDWINDOW( FINDWINDOW( 0, "TEST" ) )
RETURN NIL
else
msginfo("Test is not running","Opgelet")
ENDIF
return NIL
Marc Venken
Using: FWH 20.08 with Harbour
Using: FWH 20.08 with Harbour
Re: task manager
Marc, thanks...
I would like to know the name of the mysql service installed on the computer.
I would like to know the name of the mysql service installed on the computer.
Re: task manager
Code: Select all
GetTasks() // Returns an array with the names of all the active Tasks running in Windows
Re: task manager
Patrizio,
Friend, using WINDOWS 7, gettasks () returns me an incomplete list of processes.
I need a complete list so that I can find the name of the MYSQL process installed.
Thanks
Friend, using WINDOWS 7, gettasks () returns me an incomplete list of processes.
I need a complete list so that I can find the name of the MYSQL process installed.
Thanks
Re: task manager
You could run this command: tasklist /v /fi "STATUS eq running"
Re: task manager
Thanks