task manager

task manager

Postby MGA » Fri Oct 06, 2017 4:35 pm

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

FWH18.02
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1234
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: task manager

Postby Marc Venken » Sun Oct 08, 2017 9:24 am

Maybe this can help

Code: Select all  Expand view
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 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1338
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: task manager

Postby MGA » Tue Oct 10, 2017 1:32 am

Marc, thanks...

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

FWH18.02
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1234
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: task manager

Postby Patrizio » Tue Oct 10, 2017 2:02 pm

Code: Select all  Expand view
 GetTasks() // Returns an array with the names of all the active Tasks running in Windows
Patrizio
 
Posts: 90
Joined: Wed Nov 07, 2007 8:56 am
Location: Italy

Re: task manager

Postby MGA » Wed Oct 11, 2017 11:54 am

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

FWH18.02
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1234
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: task manager

Postby ADutheil » Wed Oct 11, 2017 12:15 pm

You could run this command: tasklist /v /fi "STATUS eq running"
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: task manager

Postby MGA » Wed Oct 11, 2017 12:57 pm

Thanks
ubiratanmga@gmail.com

FWH18.02
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1234
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 12 guests