Embedding Visio in a VC 6 app?

B

BMG Support

We have an existing VC6 C++ app the uses automation to launch and
control Visio 2002. It runs really well.

However the customer now wants the visio window to appear to be
a child (or the main) window of the VC6 C++ app. A pointer to an
example would be gratefully received.

Ideally we do not want to have our "own document" so we do not
want true embedding as such. We would just like the Visio window
to appear to be part of the main app.

We would willing start building a fresh MDI or SDI app
to support this.


A reference to any example would ideal.

Many Thanks, if you can help.
 
M

Mai-lan [MS]

If you use Visio 2003, which will be release this fall and is available in
beta on microsoft.com today, you can take advantage of the Visio ActiveX
control. That lets you embed the Visio component in a winform app. It uses
the same automation model as the Visio app so you can leverage your
expertise from your previous app. Note that you will have to port any VBA
code out of your document to your application since the control will not
execute VBA code.

Mai-lan
 

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