w/ Visio 12.0 typlib can the same .net app COM Visio 2003 & 2007?

B

Bruce Robinson

I'm developing an application which makes COM calls to Visio 2007. have
installed the Visio 12.0 Type Library (Office12/VISLIB.DLL) and am
successfully making calls to Visio 2007. However some of my customers have
Visio 2003, and these calls are failing. Shouldn't the type library be
backward compatible?
 
N

Nikolay Belyh

The term "backward-compatible" means, that a program that runs on
Visio 2003 it will also run on Visio 2007.
The opposite is not guaranteed of course, since Visio 2007 introduced
new methods, properties, etc (compared to Visio 2003).
Trying to use these methods/properites will fail (or crash, depending
on binding type) on Visio 2003.
AFAIK if you will not use the new properties/methods, everything
should work just fine.

Anyways, if you want to be compatible with Visio 2003 then the best
way to go is to use the type library from Visio 2003. :)

Kind regards.
 

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