Running tasks or processes

Running tasks or processes

Postby driessen » Sat Jul 08, 2017 4:08 pm

Hello,

In my FWH application I want to find out if TeamViewer is running or not.

First I used the GetTasks() function but teamviewer.exe is not appearing in the resulting array.

How can I find out in my FWH application whether teamviewer.exe is running or not?

Thanks a lot in advance.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.02 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc77
User avatar
driessen
 
Posts: 1399
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Running tasks or processes

Postby Natter » Sat Jul 08, 2017 4:40 pm

1. You can find a specific process using WMI
2. using EnumChildWindows (find window TeamViwer)
3. Findwindow()
Natter
 
Posts: 1135
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 15 guests