sjhergott
asked on
Context Menu for Network PC
We want to be able to right click on a network computer and select an application from the context menu. Such as VNC, Telnet, Ping, etc.
We were able to do this by adding the following registry:
HKEY_LOCAL_MACHINE\SOFTWAR E\Classes\ Network\Ty pe\2\shell \VNC\comma nd
with a value of C:\Program Files\RealVNC\VNC4\vncview er.exe "%1"
A simular registry setting will be made for telnet or ping etc.
However the "%1" uses my computers name rather than the network pc. With out the "%1" it still works but does not send any parameter to the app.
Does anybody know how to get the app to use the network pc name that we right click on rather than my pc?
We were able to do this by adding the following registry:
HKEY_LOCAL_MACHINE\SOFTWAR
with a value of C:\Program Files\RealVNC\VNC4\vncview
A simular registry setting will be made for telnet or ping etc.
However the "%1" uses my computers name rather than the network pc. With out the "%1" it still works but does not send any parameter to the app.
Does anybody know how to get the app to use the network pc name that we right click on rather than my pc?
ASKER
Useing the value C:\Program Files\RealVNC\VNC4\vncview er.exe "%computer%" I get an error message;
VNC Viewer : Error
unable to resolve host by name: No more results can be returned by WSALookupServiceNext. (10110)
any comments??
VNC Viewer : Error
unable to resolve host by name: No more results can be returned by WSALookupServiceNext. (10110)
any comments??
ASKER
ignore error message posted above.
basically the "%computer%" will work with the single computer thats name is entered in the value, but we have many computers in our domain (200+) and we want to capture the computer name that we click on in network neighborhood.
any other ideas??
basically the "%computer%" will work with the single computer thats name is entered in the value, but we have many computers in our domain (200+) and we want to capture the computer name that we click on in network neighborhood.
any other ideas??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The %computer% variable should work......
is vncviewer in listening mode?
is vncviewer in listening mode?
Hope this helps :)