If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Visio Viewer
Does it contain any foreign objects, such as a CAD file, or large images?
"Irene" wrote in message ... 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 Parker" wrote: 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,Rev iewing,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" wrote in messagenews 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,Zoo mOut,ZoomWidth,ZoomPage,Zoom100,Zoom,Sep,OpenInVis io,Sep,Props,Layers,Reviewing,Sep,Help" param name="ToolbarCustomizable" value="-1" /object "David Parker" wrote in message ... 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" wrote in message ... 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:/...nformation.com |
#12
|
|||
|
|||
Visio Viewer
No, it doesn't containg any foreign objects. The file size is 1,400KB.
"David J Parker [MVP Visio]" wrote: Does it contain any foreign objects, such as a CAD file, or large images? "Irene" wrote in message ... 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 |
|
Thread Tools | |
Display Modes | |
|
|