H
hangten
I have a service that 1) uses filewatcher to watch a directory on a
remote machine.
2) checks if a certain application is running on the local machine
before starting it.
The problem is while checking for an existing instance of the
application. I do the following code :
Process[] processes = Process.GetProcessesByName(stProcName, localcpu);
Where stProcName is the process I am checking
localcpu is the local machine name.
When it trys to execute this command it gives me an error stating that
it cannot get the process information from the remote machine. I'm not
sure why it is trying to look at the remote machine or how what is
telling it to look over there. The only thing that should be looking
over to the remote machine is FileSystemWatcher.
Thanks for any help
Carol
remote machine.
2) checks if a certain application is running on the local machine
before starting it.
The problem is while checking for an existing instance of the
application. I do the following code :
Process[] processes = Process.GetProcessesByName(stProcName, localcpu);
Where stProcName is the process I am checking
localcpu is the local machine name.
When it trys to execute this command it gives me an error stating that
it cannot get the process information from the remote machine. I'm not
sure why it is trying to look at the remote machine or how what is
telling it to look over there. The only thing that should be looking
over to the remote machine is FileSystemWatcher.
Thanks for any help
Carol