Set double-click to launch hyperlink

S

Synergy

I have created a hyperlink on an object, but my question is how to set the
2x-click event to follow the hyperlink. I have looked at the format ->
behavior section and I see how you can add about anything but follow the
hyperlink.

A couple other questions:

Where can you go to read about the various controls you can assign to an
object? I see the list, but where can I find out what each one does without
trial/error?

Also, has anyone heard of a VNC control for Visio? Example would be: after
creating a network drawing, you right click one of the PC's and you have the
ability to launch a VNC session to the device from within Visio.

Thanks for your time!!!
Joshua
 
A

Al Edlund

curious, What's a 'VNC' control? It's not unusual for people to launch
telnet sessions via hyperlink to pc's/network equipment.
Al
 
A

Al Edlund

Within the hyperlink mechanism there is the ability to put custom
information that is linked to a "custom property" such as an ip address. As
I mentioned in a previous note some people use this to call programs such as
telnet and include the associated custom property. an example:
Set shpCell = visShape.Cells("hyperlink.calltelnet.address")
shpCell.FormulaU = """TELNET:""&Prop.Ipaddress"
what has happened befor this is that we have created a hyperlink with a name
of "calltelnet". These two lines of code select the address field from the
hyperlink in the shapesheet and insert the information to call Telnet and
append the ip address from the drawing. If VNC supports a command line
interface to attach to a remote this might work.....

Some of the other alternatives include using existing WMI vbscript
(converted to vba) scenarios to get both WMI and SNMP data.
Al
 
S

Synergy

Al,

Thanks for the info! This will be helpful in trying to customize remote
connectivity.

The other question I had is this: how do I assign a double-click event to
launch the hyperlink? I want the viewers of this drawing to be able to
double-click an object and have it load an external html document without
having to right-click and choose to follow the link. I have the hyperlink
associated with the object, and I have seen where you can change the
double-click event, but all I see is about everything but follow the link.
If this is not possible, I will make due with the right-click, follow the
link functionality.

Thanks again for all you time and assistance!
Joshua
 
A

Al Edlund

the action field supports the DOCMD functions. Unfortunately this only calls
visio internal functions. The alternative would be to write some vba code
(i.e. a macro).
Al
 

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