Visio Active X control src

S

Suki

Hi All,
I am designing an app using c# and the VDC. Do you know if there is
any way of making the VDC look at a template and open a (new)drawing
from it? By that I mean I do not want them to edit the template. I am
trying to make funtionality similar to that found in Visio.
Obviously I can do a copy past in the background etc, but I am hoping
for a neater solution!
Suki
 
D

David Parker

Suki,

Since setting the SRC property in a Visio Drawing Control only loads a copy
of a template, rather than the document itself, then you only need to set
the SRC to the template file, and then use the SaveAs method. In this way,
you have created a new document based on a template.

David
 

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