Tasklist Walking

  • Thread starter Thread starter Jeff Law
  • Start date Start date
J

Jeff Law

Can anyone point me in the right direction with some code to 'walk' the
Windows Tasklist?

I need to be able to find out if a specific application is running.

Many thanks in advance,

Jeff Law
New Zealand
 
Hi,

Simple example. Also look at Process.GetProcessesByName.

Dim p As Process
For Each p In Process.GetProcesses
Trace.WriteLine(p.ProcessName)
Next

Ken
 
Many thanks Ken!

That's a heap easier than the way we did it in VB6!!!

Jeff Law
DataMasta Limited
New Zealand
 
Back
Top