doubleclick Visio Shape to ping real device

V

VanlanJL

I have created an extensive Network diagram utilizing Visio 2007, linked to
SQL Server. SQL Server contains all the applicable data for each network
device. It is then linked to Visio corresponding to each device shape, ie.
routers and switches. This is all saved as html. This is to help the Network
Team, and helpdesk so they can visualy see each site network diagram.

I would like for the user to be able to doubleclick a shape (router, switch)
and have it ping the actual device. Is this possible? I imagine it would be a
macro, but i am not a programmer. Any help would be great! Thanks!
 
C

Chris Roth [Visio MVP]

Hi VanlanJL,

Al Edlund (another Visio MVP) has answered similar questions before. I've
copied an old post from 2007 here for you:

--

Al Edlund posted on Thursday, April 26, 2007 4:24 PM


Visio doesn't support pinging directly, you have to write code to make it
happen. You can use hyperlink to execute a telnet command to test
connectivity. You can also either write a simple macro to execute a MSTSC
connection to reach out to wintel devices. Finally Bill Morein wrote a web
service to execute MSTSC also

http://blogs.msdn.com/wmorein/archi...-remote-desktop-session-from-a-hyperlink.aspx

al--Hope this helps,
Chris Roth
Visio MVP

For in-depth Visio articles, Visio tutorials and free Visio shapes, stencils
and templates, check out my web site:

Visio Guy
http://www.visguy.com

For more Visio discussion, visit our forum (complete with pictures and
downloads!):

Visio Guy Forum
http://www.visguy.com/vgforum
 
V

VanlanJL

Yes I have seen Al's responses, and they have not been helpful.
Where can i find a sample code to excute a ping?
 
A

AlEdlund

I'm sorry for that.

I started over here

http://vbnet.mvps.org/

converted the network materials to VBA, wrapped it in the Visio structure
that could be called from a Visio event, saved it to a stencil and then
posted it (with Randy's permission).

You of course have the opportunity to improve the solution.

al
 
V

VanlanJL

What is the document title?

AlEdlund said:
I'm sorry for that.

I started over here

http://vbnet.mvps.org/

converted the network materials to VBA, wrapped it in the Visio structure
that could be called from a Visio event, saved it to a stencil and then
posted it (with Randy's permission).

You of course have the opportunity to improve the solution.

al
 
V

VanlanJL

Al,

I followed the link you provided. It takes me to the home page, what is the
document title that you are referring to?
Thanks,
Josh
 
A

AlEdlund

It's not a document title, it's the network section of Randy's site which
includes a set of icmp (ping) routines.
al
 
B

Betty Carson

Hi VanlanJL,

Al Edlund (another Visio MVP) has answered similar questions before. I've
copied an old post from 2007 here for you:

--

  Al Edlund posted on Thursday, April 26, 2007 4:24 PM

  Visio doesn't support pinging directly, you have to write code to make it
  happen. You can use hyperlink to execute a telnet command to test
  connectivity. You can also either write a simple macro to execute a MSTSC
  connection to reach out to wintel devices. Finally Bill Morein wrote a web
  service to execute MSTSC also

 http://blogs.msdn.com/wmorein/archive/2007/01/22/launching-a-remote-d....

  al--Hope this helps,
Chris Roth
Visio MVP

For in-depth Visio articles, Visio tutorials and free Visio shapes, stencils
and templates, check out my web site:

Visio Guyhttp://www.visguy.com

For more Visio discussion, visit our forum (complete with pictures and
downloads!):

Visio Guy Forumhttp://www.visguy.com/vgforum



With VISIO Templates 2007, you can create topology drawings & address
security issues on network IT diagrams. In addition, the Visio Toolbox
Web site delivers more Visio tools to simplify technical diagram and
reference materials to maximize your investment and simplify processes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top