you don’t have license to use this ActiveX

N

Natarajan

Hi,

I am trying to program Visio with VS.NET and .NET framework 1.0.

I have .NET Version of 1.0 and Visio 2000 Professional edition.

1. I was able to add VCF1Ctrl.OCX to my toolbox, which I browsed from Common files\ Visio Extra folder if Visio is installed in C:\Program Files

2. Added Reference VCIF1.lib browsed from the same folder.

3. I have added Visio32Lib.dll to the reference

Visio32Lib.dll cannot be added as component as it will be recognized as COM Server

When i try to drag the control from my toolbox to a window I get a message saying you don’t have license to use this ActiveX. I am using a licensed version of Visio and VS.NET.

Any ideas or suggestions would be of help.

Thanks,
_
Natarajan
 
M

Mai-lan [MS]

Hi, there: Visio does not provide a Primary Interface Assembly for Visio 2000. If you upgrade to Visio 2002 or Visio 2003, we provide PIAs that you can use to interoperate with managed code

If you upgrade to Visio 2003, you will be able to use the soon-to-be-released Visio 2003 SDK, which will contain wizards for Visual STudio.NET that allow you to create a Visio solution in Visual Studio.NET with all the right references

It's not recommended to build a Visio managed code solution unless you're working with Visio 2002 or later

Thanks
Mai-la
 
A

Ashok Kumar

Dear Ma

That was really a clear answer. I like to know if i use PIA by upgrading to Visio 2002 Standard Edition, Will i get the visio document created thru programatically is shown to the user of the application. and handle the mouse click events on the shapes created

Will this be possible in upgrading to Visio 2002

Any ideas or suggestions would be of help

Thanks & Regard
Ashok Kumar
 
M

Mark Nelson [MS]

Visio 2002 does not support mouse events. You will need Visio 2003 for
that.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.


Ashok Kumar said:
Dear Mai

That was really a clear answer. I like to know if i use PIA by upgrading
to Visio 2002 Standard Edition, Will i get the visio document created thru
programatically is shown to the user of the application. and handle the
mouse click events on the shapes created?
 

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