task manager

Post Reply
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

task manager

Post by MGA »

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
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
User avatar
Marc Venken
Posts: 727
Joined: Tue Jun 14, 2016 7:51 am

Re: task manager

Post by Marc Venken »

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
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Re: task manager

Post by MGA »

Marc, thanks...

I would like to know the name of the mysql service installed on the computer.
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
Patrizio
Posts: 90
Joined: Wed Nov 07, 2007 8:56 am
Location: Italy
Contact:

Re: task manager

Post by Patrizio »

Code: Select all

 GetTasks() // Returns an array with the names of all the active Tasks running in Windows
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Re: task manager

Post by MGA »

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
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
ADutheil
Posts: 352
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: task manager

Post by ADutheil »

You could run this command: tasklist /v /fi "STATUS eq running"
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Re: task manager

Post by MGA »

Thanks
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
Post Reply