Visio Viewer open network-file

S

Steve Gröber

Hi,

is it possible to open a Visio file over the network with Visio Viewer.

For example src="\\server\dir\file.vsd"

I've tried this and get an error message "Visio Viewer cannot open the
specified url or file".

Greetz, Steve
 
S

Steve

I've found a possibility to solve my problem:

you must create the Visio Viewer object dynamically via Code and add the
path as a parameter.
For example:

Response.Write("<object
classid='clsid:279D6C9A-652E-4833-BEFC-312CA8887857' id='Viewer1'
width='100%' height='100%'>")
Response.Write("<param name='AlertsEnabled' value='1'>")
Response.Write("<param name='ContextMenuEnabled' value='1'>")
Response.Write("<param name='GridVisible' value='0'>")
Response.Write("<param name='ToolbarVisible' value='1'>")
Response.Write("<param name='CurrentPageIndex' value='0'>")
Response.Write("<param name='Zoom' value='-1'>")
--> Response.Write("<param name='SRC' value='\\server\dir\file.vsd'>")
Response.Write("</object>")
 

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