Hyperlink Opens Wrong Program

T

Trevor Matthews

I am having a real difficult viewing Visio files opened with hyperlinks in
"browse" mode. If I right click the file and then click Open with.../Visio
viewer, it works fine. Then, clicking on a hyperlink in the viewer
attempts to open the file with IE. After several seconds, the file opens
in the Visio editor.

Does anyone know how to keep the browsed, hyperlinked files in the Visio
viewer? Do I have to develop on one computer and then test on a second
that only has the Visio viewer installed?

I have also tried exporting as XPS with the same results. The files
exported as PDF simply give me a message staing that it won't open the
"dangerous file" in the hyperlink when viewed in Adobe.

Sign me "Frustrated in PA"
Trevor
 
B

Barb Way

By design, the Visio application "owns" the Visio file extensions when it
is installed. So you will see the behavior you described when both the
Viewer and Visio are installed on a system.

One way to work around this would be to have a test system with only the
Viewer installed - perhaps even a Virtual PC image that you can boot and
test quickly (Virtual PC is a free download).

There is a workaround which you can employ using the registry - but the way
it works is to disable the built-in launch repair functionality of Visio.
If you do this, and some Visio function needs to repair itself, that will
not occur. (You can still manually repair Visio through the Control Panel,
etc.)

First close IE and Visio, then make the desired changes in the Registry:

Update the registry keys for file extensions back to point at the viewer
(for example):
----------------------------------------------------------------------------
----------------------------------------------
[HKEY_CLASSES_ROOT\.vsd]
@="VisioViewer.Viewer"
"Content Type"="application/vnd.ms-visio.viewer"
<<< This must be done for each extension - VSD/VST/VSS/VDX/VTX/VSX >>>

Manually disable Visio's File association Repair function :
----------------------------------------------------------------------------
-----------
[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Visio\Application]
; Visio default = 0xBDEF
; Clear bit 5 (AND 0xFFDF) to disable Visio's file association repair.
"RegistrationFlags"="0xBDCF"
<<< This only needs to be done once >>>

Once you have updated all of the file extensions and disable the File
Association repair, you should be able to open files in IE using the
Viewer, even when the Visio app is installed.


Barb Way
Product Support - Visio
Microsoft Corporation
[This posting is provided "As Is" with no warranties, and confers no
rights.]
--------------------

I am having a real difficult viewing Visio files opened with hyperlinks in
"browse" mode. If I right click the file and then click Open with.../Visio
viewer, it works fine. Then, clicking on a hyperlink in the viewer
attempts to open the file with IE. After several seconds, the file opens
in the Visio editor.

Does anyone know how to keep the browsed, hyperlinked files in the Visio
viewer? Do I have to develop on one computer and then test on a second
that only has the Visio viewer installed?

I have also tried exporting as XPS with the same results. The files
exported as PDF simply give me a message staing that it won't open the
"dangerous file" in the hyperlink when viewed in Adobe.

Sign me "Frustrated in PA"
Trevor
 
D

David Parker

Is the issue that the hyperlink tries to open Visio because the extension is
"vsd", but you want it to open an "htm", "pdf" or "xps" version of the Visio
file?
 

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