Solved

Context Menu for Network PC

Posted on 2004-09-17
5
148 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
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

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

Hope this helps :)
0
 

Author Comment

by:sjhergott
Comment Utility
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
Comment Utility
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 500 total points
Comment Utility
0
 
LVL 12

Expert Comment

by:valicon
Comment Utility
The %computer% variable should work......

is vncviewer in listening mode?
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
A procedure for exporting installed hotfix details of remote computers using powershell
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now