J
Jens Stjärna
HI.
I have a question regarding the Visio OCX.
My Project:
I'm going to write a C# windows app in VS2003. The Main form shall contain a
Visio OCX and some standard windows controls. Using the Form UI i want to
drop and connect prefabricated objects from a stencil programmatically.
Should not be so difficult one would think, but i'v spent hours and hours in
the Visio object model pondering this.
I'v read that the OCX can only contain one document at the time. Does this
mean that i cannot have my target Page open and a stencil at the same time?
Must i switch between documents to do this?
In addition to what I mentioned above the app should also perform basic
tasks as open, close, save, saveas, delete documents.
Is there any nice code examples similar to this?
help appreciated.
Thanks, Jens
I have a question regarding the Visio OCX.
My Project:
I'm going to write a C# windows app in VS2003. The Main form shall contain a
Visio OCX and some standard windows controls. Using the Form UI i want to
drop and connect prefabricated objects from a stencil programmatically.
Should not be so difficult one would think, but i'v spent hours and hours in
the Visio object model pondering this.
I'v read that the OCX can only contain one document at the time. Does this
mean that i cannot have my target Page open and a stencil at the same time?
Must i switch between documents to do this?
In addition to what I mentioned above the app should also perform basic
tasks as open, close, save, saveas, delete documents.
Is there any nice code examples similar to this?
help appreciated.
Thanks, Jens