Determining whether another process is running

  • Thread starter Thread starter Art Krumsee
  • Start date Start date
A

Art Krumsee

From within a vb.net app can I check to see whether a separate executable
process is running? I can see this process in Task Manager but I don't know
how to see if it's active from within my code.

Thanks.

Art
 
Hello,

Art Krumsee said:
From within a vb.net app can I check to see whether
a separate executable process is running? I can see this
process in Task Manager but I don't know how to
see if it's active from within my code.

Have a look at the 'System.Diagnostics.Process' class and its methods
'GetProcessesByName' and 'GetProcesses'.
 
Back
Top