[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Context Menu for Network PC

Posted on 2004-09-17
5
Medium Priority
?
160 Views
Last Modified: 2010-04-12
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\SOFTWARE\Classes\Network\Type\2\shell\VNC\command
with a value of    C:\Program Files\RealVNC\VNC4\vncviewer.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?
0
Comment
Question by:sjhergott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:valicon
ID: 12090254
Try using C:\Program Files\RealVNC\VNC4\vncviewer.exe "%computer%"

Hope this helps :)
0
 

Author Comment

by:sjhergott
ID: 12112926
Useing the value C:\Program Files\RealVNC\VNC4\vncviewer.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??
0
 

Author Comment

by:sjhergott
ID: 12113186
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??
0
 
LVL 12

Accepted Solution

by:
valicon earned 1500 total points
ID: 12114439
0
 
LVL 12

Expert Comment

by:valicon
ID: 12114661
The %computer% variable should work......

is vncviewer in listening mode?
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
What monsters are hiding in your child's room? In this article I will share with you a tech horror story that could happen to anyone, along with some tips on how you can prevent it from happening to you.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question