01-16-2011, 10:54 PM
Ok here is a way to do this:
All I did was change GetProcesses to GetProcessesByName and added a textbox to input the name of the processs
Code:
For Each Proc As Process In Process.GetProcessesByName(TextBox2.Text)
Try
TextBox1.AppendText(Proc.MainModule.FileName & vbCrLf)
Catch
End Try
Next
All I did was change GetProcesses to GetProcessesByName and added a textbox to input the name of the processs