Open visio file in read-only format in Visio ActiveX control.

P

Pradeep

Hi,

I am using ActiveX Visio control in my C# winforms Application.
I want to open a visio file in Read-Only format so that the user cannot
modify the file.
How can we do this? Any C# code samples please....

Thanks
 
P

Pradeep

Thanks for ur reply.
However i am not able to use OpenEx method to open a file with extension .vsd.
Only files with extension .vss can be opened using OpenEx method.

My issue is to open a .vsd file in read only format so that user will not be
able to make any changes to the file. That is, User cannot delete or move a
shape from the .vsd file nor can he add a new shape to the file.
 
D

David Parker

Use src property of the control - this only opens a copy - not the oroginal
document.
 

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