Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlinks in Visio Viewer

Status
Not open for further replies.

whakapapa

Programmer
Feb 8, 2006
4
NZ
Hello

I have a Visio viewer control on a web page, it displays a diagram that contains links to other Visio diagrams. The problem is that, when the user follows any of those links, the target diagram is displayed in the browser in a full edit mode instead of being displayed inside the viewer in the original page.

Does anyone know how to make the diagram display inside the viewer? We don’t want the diagrams being opened for editing in Visio.

Thanks
 
Instead of HL to the visio diag, link the viewer to the next drawing.

rvnguy
"I know everything..I just can't remember it all
 
Thaks for your replay

The links are from one diagram to another diagram.
 
can you post only the part of the code that loads the initial viewer& diag?

rvnguy
"I know everything..I just can't remember it all
 
The code that loads the viewer is posted below.

I'm using different diagram to the onr posted. It contains a shape with a hyperlink to another digram. The original diagram is published on our intranet so I had to replace it with rpc_http_diagram.vsd in order to make the whole thing work.

<OBJECT classid="CLSID:279D6C9A-652E-4833-BEFC-312CA8887857"
codebase="id="viewer1" width="100%" height="640">
<param name="BackColor" value="16777215">
<param name="AlertsEnabled" value="-1">
<param name="ContextMenuEnabled" value="-1">
<param name="GridVisible" value="0">
<param name="HighQualityRender" value="-1">
<param name="PageColor" value="16777215">
<param name="PageVisible" value="-1">
<param name="PropertyDialogEnabled" value="0">
<param name="ScrollbarsVisible" value="0">
<param name="ToolbarVisible" value="0">
<param name="SRC" value=" ref>
<param name="CurrentPageIndex" value="1">
<param name="Zoom" value="-2" valuetype="object">
<param name="SizeGripVisible" value="0">
<param name="PageTabsVisible" value="1">
<param name="ToolbarButtons" value="About,Sep,ZoomIn,ZoomOut,ZoomWidth,ZoomPage,Zoom100,Zoom,Sep,OpenInVisio,Sep,Props,Layers,Reviewing,Sep,Help">
<param name="ToolbarCustomizable" value="1">
</object>
 
You said:
it displays a diagram that contains links to other Visio diagrams
MS said:
Hyperlinks associated with the page are not supported

Full info here
file:///c:/Program%20Files/Microsoft%20Office/Visio%20Viewer/1033/VVREADME.HTM

It appears that what you are trying to do is not supported.

rvnguy
"I know everything..I just can't remember it all
 
Thanks very much for your help

I found a work around that solved my problem: we now have all the diagrams in one file but on different pages. This, for some reason, seems to solve the problem.

Cheers,

Whakapapa
 
Thanks for posting this work around.

Others might find it useful also.

rvnguy
"I know everything..I just can't remember it all
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top