01-25-2016 06:21 AM
Hi everyone,
I want to write a Look-Up VI,
I have the name of the Program or the Path (like : "C:\User\....\EXCEL.EXE" or firefox.exe)
And want to know if this Program is running at the moment (an maybe kill it).
Has someone an idea?
Solved! Go to Solution.
01-25-2016 07:03 AM
You can fairly easily do this using .NET:
This will obtain an array of processes by name, and kill the first one it finds.
01-25-2016 08:11 AM
Works perfectly.
As addition:
If you want to know if a task is running at all (not kill it) just take get the array size before the kill method