Visio 2010 Link a Stencil to Telnet

Good morning everyone,

I have been searching Google for two days now on how to link a Visio 2010 Stencil to Telnet so that when you hold control and click the stencil it brings you to the telnet login prompt for that router or switch.

I went to insert hyperlink, then chose local file, and linked to telnet.exe for starters. When I ctrl+click on a stencil I get a security warning asking if I want to continue; I clicked yes, but nothing happened. For kicks, I even tried clicking No and still nothing happens.

I then tried creating a shortcut to telnet and pointing the hyperlink to that local file with no luck.

Lastly I wrote a .bat file and tried to get the .bat file to launch telnet to my router/switch, and that works if I directly open the .bat file but does not link from Visio.

Does anyone know how I can simply make Visio 2010 so that I can click on the stencil and it auto opens telnet prompt allowing me to login to that device?

Thank you

January 31st, 2014 4:51pm

maybe this will give you some ideas

http://visguy.com/vgforum/index.php?topic=14.msg14734#msg14734

al

Free Windows Admin Tool Kit Click here and download it now
February 1st, 2014 12:43am

maybe this will give you some ideas

http://visguy.com/vgforum/index.php?topic=14.msg14734#msg14734

al

February 3rd, 2014 6:31pm

What exact code did you try? How did you reference the code from the shape? Al put a lot of work and effort into that code and to just say it doesn't work without saying what happened is a bit unfair.

Free Windows Admin Tool Kit Click here and download it now
February 4th, 2014 1:24am

I was trying to complete the same task without having to go through a bunch of in depth work. I read your post and created a bat file and added it to an object as a hyperlink. Now when right click on the object it has a menu option for the newly created hyperlink. 

This will work fine for me but it would be nice if I could just double click on the object to open the telnet session.

January 29th, 2015 9:25pm

The technique the example uses requires modifications to the shape (thus making them unique on the page) and the code then calls an executable that accepts command line options and enters the appropriated operands to the call (ip address, port, etc.). This is the 'easy' way to accomplish calling the telnet session. Be aware that as of Win7 calling command line executables via a browser was modified to make it more difficult.

al edlund

Free Windows Admin Tool Kit Click here and download it now
January 31st, 2015 9:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics