Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

doubleclick Visio Shape to ping real device

579 views
Skip to first unread message

VanlanJL

unread,
Dec 8, 2009, 8:58:01 AM12/8/09
to
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!

Chris Roth [Visio MVP]

unread,
Dec 8, 2009, 10:30:04 AM12/8/09
to
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-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

"VanlanJL" <Vanl...@discussions.microsoft.com> wrote in message
news:28DD32A3-C10C-4FA9...@microsoft.com...

Chris Roth [Visio MVP]

unread,
Dec 8, 2009, 11:40:39 AM12/8/09
to
Looks like Al answered this over on my forum as well:

http://visguy.com/vgforum/index.php?topic=1329.msg5682;topicseen#msg5682

--

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!):

"Chris Roth [Visio MVP]" <visi...@hotmail.com> wrote in message
news:untDVtBe...@TK2MSFTNGP05.phx.gbl...

VanlanJL

unread,
Dec 10, 2009, 11:48:01 AM12/10/09
to
Yes I have seen Al's responses, and they have not been helpful.
Where can i find a sample code to excute a ping?

> .
>

AlEdlund

unread,
Dec 10, 2009, 12:07:49 PM12/10/09
to
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


"VanlanJL" <Vanl...@discussions.microsoft.com> wrote in message

news:402E427B-3F56-4C6E...@microsoft.com...

VanlanJL

unread,
Dec 10, 2009, 2:29:02 PM12/10/09
to
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

VanlanJL

unread,
Dec 10, 2009, 2:28:02 PM12/10/09
to
What is the document title?

AlEdlund

unread,
Dec 10, 2009, 3:08:38 PM12/10/09
to

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


"VanlanJL" <Vanl...@discussions.microsoft.com> wrote in message

news:898050CB-E65E-47B2...@microsoft.com...

Betty Carson

unread,
Jan 6, 2010, 1:49:43 AM1/6/10
to
On Dec 8 2009, 8:30 pm, "Chris Roth [Visio MVP]"

<visio...@hotmail.com> wrote:
> 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
>
> "VanlanJL" <Vanla...@discussions.microsoft.com> wrote in message

>
> news:28DD32A3-C10C-4FA9...@microsoft.com...
>
> >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!

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.

0 new messages