How can I embed Visio in My application?

S

Scott Metzger

Hi,

Ok the following code launches Visio in C++ :
::OleInitialize(NULL);
CVisioApplication vsoApp;
vaoGetObjectWrap(vsoApp);

How can I embed Visio in my application so that it is not in a separate
window?

Thanks,
Scott Metzger
 
M

Michael J. Long

Scott Metzger said:
Hi,

Ok the following code launches Visio in C++ :
::OleInitialize(NULL);
CVisioApplication vsoApp;
vaoGetObjectWrap(vsoApp);

How can I embed Visio in my application so that it is not in a separate
window?

Thanks,
Scott Metzger

Use the new Visio ActiveX control available with Visio 2003 (currently in beta).

http://tinyurl.com/jw4u (redirects to Microsoft's site)
 
S

Scott Metzger

Michael said:
Use the new Visio ActiveX control available with Visio 2003 (currently in beta).


Thanks, but I have enough problems with MS released products, there is
no way I would use one of their beta products.
 
M

Mike Z

Well, has you considered the scenario that some developers have been
programming with Visio since it's earlier versions such as 2000/2002,
including the out-of-proc approach? In this case, will this ActiveX control
be backward compitible?

Thanks for any info regarding the questions!

Mike
 
M

Mai-lan [MS]

The Visio drawing control is version-specific -- more precisely, it's
type-lib specific. So the Visio 2003 drawing control will only work with
Visio 2003, and is not backward compatible.

Thanks,
Mai-lan
 
M

Mike Z

Thanks for the clarification.

I assume that it will be still backward compatible, even if some minor
tweaks might be need, if one has been using the out-of-proc (using the EXE)
approach in controlling, manipulating, and/or embedding Visio, which is what
we've been doing with success.

Mike
 

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