VB.NET Forum Moderator
- Jun 3, 2004
- Lansing, MI; USA
- Programming Experience
posted from the 'archive':
i've got a question on this one too... how does one go about adding all the other computer name's on the network to a combobox or a listbox? i know how to get the local machine's name, but i dont know how to obtian the names of all the remote machinesthegame724:
I am writing a program to monitor processes on remote computers in a network. I am using
Process.GetProcesses(remotecomputername) to get the processes from the remote computer. Now, for some of the computers on the network, it lists the processes without any problems. For other computers, however, I get the following error:
System.InvalidOperationException: Couldn't get process information from remote machine --->
System.ComponentModel.Win32Exception: Access is Denied.
I have the remote computers listed in a ComboBox, and when the user picks one, it either lists the processes, or returns this error. If anyone has any suggestions, or any ideas how to fix this error, please let me know. Thanks.