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" <
[email protected]> wrote in messagenews
[email protected]...> 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" <
[email protected]> wrote in message>> news:
[email protected]...>> >>> >
http://www.microsoft.com/downloads/...42-B174-4198-AE31-6884E9EDD524&displaylang=en>> >>> >
http://www.microsoft.com/downloads/...7E-D940-45EC-8D56-EC2FCDF346A5&displaylang=en>> > "tpiers" <
[email protected]> wrote in message>> > news:
[email protected]...>> >>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