Using Visio 2003 viewer

A

anonymous

Hi,
I want to do the following stuff using the Visio 2003 viewer can anyone
tell me if all of this is possible ?

1. Create a webpage with a visio 2003 viewer activeX control to display a
Visio drawing.? If possible what should be installed in the client machine?

2.When a particular shape is double clicked in the diagram i need to display
an alert giving the value of one of the shape 's custom property?

If anyone has come across the same problem can you please guide me on how to
go about it.

Regards
 
C

Chris Roth [ Visio MVP ]

1. You don't need the ActiveX control to display a drawing. Only to have
rich interaction with the drawing. The Viewer will allow users to view VSDs
in a web browser, and, I believe, allows the users to see custom properties
by clicking on a shape.

2. Furthermore, if you choose File > Save As Web from Visio, there are
export settings that allow users to see custom property values in the web
export. This doesn't require Visio or the Viewer. Users simply Ctrl+Click on
a shape in the web-export and a frame on the left displays the custom
properties.

--

Hope this helps,

Chris Roth
Visio MVP
 
T

Tim Davenport [MSFT]

You can create a web page that is set up to display a Visio drawing using
the Viewer. Only the Viewer needs to be installed on the clients. You can
have it download and auto-install the Viewer by inserting the right codebase
in your web page. There is a sample HTML file in the Viewer install
directory that shows how to do this. If you install the Viewer, you'll find
it in <drive>:\Program Files\Microsoft Office\Visio Viewer\1033.

You might find the readme file in that same directory helpful as well.

You can bring up the Properties and Settings dialog in the Viewer and it
will show the custom properties for selected shapes, but I don't know of a
way to show them in an alert when the user double-clicks.
 
A

anonymous

Is there a way i can hook into the right click event and provide my custom
event handler for it .is it possible with viewer ?
 
C

Chris Roth [ Visio MVP ]

I don't know about hooking into the Viewer.

I do know that you can massage the output-html code that Save As Web
generates - you can mess with the javascripts to get your own pop-up
windows.

--

Hope this helps,

Chris Roth
Visio MVP
 

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