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

Visio Viewer

73 views
Skip to first unread message

tpiers

unread,
Mar 29, 2008, 5:41:00 PM3/29/08
to
I have Visio 2007 and I installed Visio Viewer to see how a diagram would
look for others that do not have Visio. However, when I try to open a diagram
with Internet Explorer, it opens Visio - not the viewer. Is there a way to
force IE to use the viewer?

David Parker

unread,
Mar 30, 2008, 2:33:55 PM3/30/08
to

David Parker

unread,
Mar 30, 2008, 4:39:59 PM3/30/08
to
The accidently sent previous reply has links for the Visio 2007 Viewer and
SP1 ...
I was going to point you at the sample web page for the Visio Viewer control
that is installed with the install, but I couldn't find it in theses
versions, so here as an example :.

<object classid="clsid:279D6C9A-652E-4833-BEFC-312CA8887857"
codebase="http://download.microsoft.com/download/4/5/2/452f8090-413f-408f-83c0-edd66db786ee/vviewer.exe"
id="Viewer1" width="821" height="639">
<!--<object classid="clsid:279D6C9A-652E-4833-BEFC-312CA8887857"
codebase="http://download.microsoft.com/download/4/5/2/452f8090-413f-408f-83c0-edd66db786ee/vviewer.exe"
id="viewer1" width="100%" height="100%">-->
<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="0">
<param name="PropertyDialogEnabled" value="-1">
<param name="ScrollbarsVisible" value="-1">
<param name="SizeGripVisible" value="0">
<param name="ToolbarVisible" value="-1">
<param name="SRC" value="./visNetGoldDemo.vsd">
<param name="CurrentPageIndex" value="1">
<param name="Zoom" value="0.34925">
<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>

"David Parker" <dav...@bvisual.net> wrote in message
news:OLiGeSpk...@TK2MSFTNGP03.phx.gbl...

tpiers

unread,
Mar 30, 2008, 8:15:01 PM3/30/08
to
David,

Thanks for the reply. I hate to admit it, but I do not know what to do with
the code sample you provided (not sure where to put/run it). I also don't
know what it will do. If you could give me a little more direction, that
would be great.

Thanks again, Tom

Amedee Van Gasse

unread,
Mar 31, 2008, 2:42:42 AM3/31/08
to

I found this registry key somewhere on the Microsoft support site, use
at your own risk:
(save to a .reg file & doubleclick)


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.vsd]
"Content Type"="application/vnd.ms-visio.viewer"
@="VisioViewer.Viewer"

[HKEY_CLASSES_ROOT\.vst]
"Content Type"="application/vnd.ms-visio.viewer"
@="VisioViewer.Viewer"

[HKEY_CLASSES_ROOT\.vdx]
"Content Type"="application/vnd.ms-visio.viewer"
@="VisioViewer.Viewer"

[HKEY_CLASSES_ROOT\.vss]
"Content Type"="application/vnd.ms-visio.viewer"
@="VisioViewer.Viewer"

[HKEY_CLASSES_ROOT\.vst]
"Content Type"="application/vnd.ms-visio.viewer"
@="VisioViewer.Viewer"

[HKEY_CLASSES_ROOT\.vsx]
"Content Type"="application/vnd.ms-visio.viewer"
@="VisioViewer.Viewer"

[HKEY_CLASSES_ROOT\.vtx]
"Content Type"="application/vnd.ms-visio.viewer"
@="VisioViewer.Viewer"

David Parker

unread,
Mar 31, 2008, 2:45:36 AM3/31/08
to
Tom,

It is a code snippet for an html page. Below is a complete(ish) code for
MyDrawing.htm in the same folder as a drawing called MyDrawing.vsd.
Simply use notepad to create MyDrawing.htm and replace MyDrawing.vsd with
your drawing name.

========Cut Here====================
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body>
<p>


<object classid="clsid:279D6C9A-652E-4833-BEFC-312CA8887857"
codebase="http://download.microsoft.com/download/4/5/2/452f8090-413f-408f-83c0-edd66db786ee/vviewer.exe"
id="Viewer1" width="821" height="639">
<!--<object classid="clsid:279D6C9A-652E-4833-BEFC-312CA8887857"
codebase="http://download.microsoft.com/download/4/5/2/452f8090-413f-408f-83c0-edd66db786ee/vviewer.exe"
id="viewer1" width="100%" height="100%">-->
<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="0">
<param name="PropertyDialogEnabled" value="-1">
<param name="ScrollbarsVisible" value="-1">
<param name="SizeGripVisible" value="0">
<param name="ToolbarVisible" value="-1">

<param name="SRC" value="./MyDrawing.vsd">


<param name="CurrentPageIndex" value="1">
<param name="Zoom" value="0.34925">
<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>

</p>
<p>
Hold down CTRL+SHIFT and drag a rectangle to zoom in to an area.</p>
<p>
Try opening the Properties and Settings dialog in the viewer, and clicking
on a
shape with the CTRL key held down.</p>
<p>
Try toggling the visibility of layers and reviewers mark-up</p>
<p>
<!--
If you want the Visio Viewer to autoinstall when a user navigates to your
web page,
you will want to substitute the following line for the equivalent line
below:
<OBJECT classid="CLSID:279D6C9A-652E-4833-BEFC-312CA8887857"
codebase="http://download.microsoft.com/download/4/5/2/452f8090-413f-408f-83c0-edd66db786ee/vviewer.exe" id="viewer1" width="100%" height="100%">--></body></html>========Cut Here===================="tpiers" <tpi...@discussions.microsoft.com> wrote in messagenews:D902BD79-E897-4505...@microsoft.com...> David,>> Thanks for the reply. I hate to admit it, but I do not know what to dowith> the code sample you provided (not sure where to put/run it). I also don't> know what it will do. If you could give me a little more direction, that> would be great.>> Thanks again, Tom>>> "David Parker" wrote:>>> The accidently sent previous reply has links for the Visio 2007 Viewerand>> SP1 ...>> I was going to point you at the sample web page for the Visio Viewercontrol>> that is installed with the install, but I couldn't find it in theses>> versions, so here as an example :.>>>> <object classid="clsid:279D6C9A-652E-4833-BEFC-312CA8887857">>codebase="http://download.microsoft.com/download/4/5/2/452f8090-413f-408f-83c0-edd66db786ee/vviewer.exe">> id="Viewer1" width="821" height="639">>> <!--<object classid="clsid:279D6C9A-652E-4833-BEFC-312CA8887857">>codebase="http://download.microsoft.com/download/4/5/2/452f8090-413f-408f-83c0-edd66db786ee/vviewer.exe">> id="viewer1" width="100%" height="100%">-->>> <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="0">>> <param name="PropertyDialogEnabled" value="-1">>> <param name="ScrollbarsVisible" value="-1">>> <param name="SizeGripVisible" value="0">>> <param name="ToolbarVisible" value="-1">>> <param name="SRC" value="./visNetGoldDemo.vsd">>> <param name="CurrentPageIndex" value="1">>> <param name="Zoom" value="0.34925">>> <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>>>>>>>>> "David Parker" <dav...@bvisual.net> wrote in message>> news:OLiGeSpk...@TK2MSFTNGP03.phx.gbl...>> >>> >http://www.microsoft.com/downloads/details.aspx?familyid=D88E4542-B174-4198-AE31-6884E9EDD524&displaylang=en>> >>> >http://www.microsoft.com/downloads/details.aspx?FamilyId=14C4DE7E-D940-45EC-8D56-EC2FCDF346A5&displaylang=en>> > "tpiers" <tpi...@discussions.microsoft.com> wrote in message>> > news:A956CBBD-EF7D-4721...@microsoft.com...>> >>I have Visio 2007 and I installed Visio Viewer to see how a diagramwould>> >> look for others that do not have Visio. However, when I try to open a>> >> diagram>> >> with Internet Explorer, it opens Visio - not the viewer. Is there away>> >> to>> >> force IE to use the viewer?>> >>> > -->> > David Parker>> > Microsoft MVP (Visio)>> > http://bvisual.spaces.live.com>> > http://www.visualizinginformation.com>>>> -->> David Parker>> Microsoft MVP (Visio)>> http://bvisual.spaces.live.com>> http://www.visualizinginformation.com>>>>--David ParkerMicrosoft MVP (Visio)http://bvisual.spaces.live.comhttp://www.visualizinginformation.com

David Parker

unread,
Mar 31, 2008, 5:47:05 AM3/31/08
to
..and I just found this interesting article:
http://www.colleyssupperrooms.co.uk/?contentId=285

"David Parker" <dav...@bvisual.net> wrote in message

news:ugNDVrvk...@TK2MSFTNGP05.phx.gbl...

tpiers

unread,
Mar 31, 2008, 9:53:07 PM3/31/08
to
David,

The code worked great! But, you threw me with the interesting article. I'm
not making the connection.

Thanks Again

Tom

"David Parker" wrote:

> ...and I just found this interesting article:

David Parker

unread,
Apr 1, 2008, 4:17:51 PM4/1/08
to
Ha ha! Sorry, that was meant for my daughter's birthday ... this is the
Visio link:
http://www.c-sharpcorner.com/UploadFile/scottlysle/CC_Visio01142007140634PM/CC_Visio.aspx


"tpiers" <tpi...@discussions.microsoft.com> wrote in message

news:50E2419E-2079-4FED...@microsoft.com...

Irene

unread,
Mar 27, 2009, 3:50:06 PM3/27/09
to
Hi,
I have followed your code and it's working fine. But there is one
particular .vsd file that I cannot view it in viewer via IE7.
The viewer area is blank. No error message. If I try to open the file from
Experor, the file is open fine in Visio 2007.
Do you have any idea why this is working for most .vsd but not this
particular one?

Thank

David J Parker [MVP Visio]

unread,
Apr 1, 2009, 12:18:59 PM4/1/09
to
Does it contain any foreign objects, such as a CAD file, or large images?

"Irene" <Ir...@discussions.microsoft.com> wrote in message
news:9079CBDE-7D08-4850...@microsoft.com...

0 new messages