When I use this function, Process.GetProcesses it's appear like this Couldn't get process information from remote machine. Please help me soap this problem . . . thank you !?
GetProcesses is overloaded and you can pass the name of a remote machine as a parameter. You could have got this information from Intellisense just by typing an opening parenthesis after the method name.
My code is like this but it's still Error Couldn't get process information from remote machine. What should I do? Thank you for reply =^_^=
Dim myProcess As Process ForEach myProcess In Process.GetProcesses("MyCom") 'Add ProcessName, MainWindowTitle and Session ID in ListView1 Dim item As ListViewItem = ListView1.Items.Add(myProcess.ProcessName)
item.SubItems.Add(myProcess.MainWindowTitle)
item.SubItems.Add(myProcess.Id) Next myProcess
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.