VISIO SDK for .NET

R

Roni

I am tring to develope an Addin application for Visio.
I want to develope the application in .NET (C#) so I tried using Visio SDK
2002 and "Microsoft Visio Managed code Interop".
I have a problems implementing some simple functionallity that I had no
problem implementing in VBA.
Is there known problems when using the Interop? Does anybody know where I
can find samples in C# for Visio? When will it be possible to work with
Visio in the .NET platform without the Interop?

Thanks
 
M

Mai-lan

Hi, Roni: We have a Visio 2003 SDK coming on in about a month or so, that
has many .NET samples in C# and VB.NET as well as a wizard that lets you
create .NET Visio projects in Visual Studio.

If you could post your specific problems iwth the Visio 2002 PIA, then I
might be able to help out.

It is not possible to use Visio without an interop component with a .NET
application. The Visio type library is a COM type lib that needs the interop
wrapper component in order to be able to interoperate with the .NET world.

Thanks,
Mai-lan
 
K

Ken Hanson

Mai-lan,

Has anything changed so that in the 2003 Visio SDK a COM Addin (via the PIA)
can be called from a UIObject or is my best bet still to use a .vsl?

Thanks,

- Ken
 
M

Mai-lan [MS]

Hi, there:
We recommend using a COM addin for Visio standalone solutions. You can use
winforms or Office containers for the Visio drawing control. We don't
recommend using UIObject to customize Visio UI in either case. Your best bet
is to use either DoCmd (documented in Visio 2003) or the Office CommandBar
object from Visio.

Thanks,
Mai-lan
Microsoft Corp.
 

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