Loading file in C# form with MyAxDrawingDoc.scr property

G

genc ymeri

Hi,
I'm trying to load a steincel file in MSVisio AxDrawing document through
MyAxDrawingDoc.scr but nothing shows up.

MyAxDrawingDoc.scr = "C:\\MySteincels.vss"

Command executs just fine, no errors but I can't see the steincels.

Any tip is very much appreciated.
 
M

Mai-lan [MS]

Hi, there:
The property name is actually SRC, not SCR...let me know if you still have
the problem.

Thanks,
Mai-lan
 
G

genc ymeri

It's an obvious misspelling error in this post. As I said, C# doesn't
generate any error.

This command :

MyAxDrawingDoc.src = "C:\\MyStencilFile.vss" doesn't open or at least
doesn't show up a stencil file. No errors are shown up but no Steincil file
is shown too.

Amazingly, when I open a template which includes a Stencil file, the stencil
file shows up.
 

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