LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Visio 2003 ActiveX Controller

Has anyone tried using the Visio 2003 Drawing 11.0 ActiveX controller with Labwindows/CVI 7.0? The .API that LabWindows generates works fine when using automation, however the drawing sheet(.vsd file) on the control does not seem to respond to mouse clicks. Oddly enough, the stencil sheet (.vss file) works fine on the control. I can click and drag a stencil onto the drawing sheet and then control it using the keyboard, but the mouse seems non-responsive once the drawing sheet becomes involved.

Has anyone else used the control and seen this problem, or used the control and not seen the problem? If you have seen the problem, and were able to fix it, how did you do it?
Message 1 of 4
(4,178 Views)
I have never used this particular control before, but whenever I have trouble with an ActiveX application, I always check Microsoft's website. They typically have useful articles and usually you can find any common problems/bugs with a particular ActiveX server, in this case Visio. I did a quick search and found a Knowledge Base that may be applicable to the problem you are experiencing: Visio ActiveX Performance. I hope this gets you pointed in the right direction!

Regards,

E. Sulzer
Applications Engineer
National Instruments
E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(4,164 Views)
Hi, DaveC :
I 've got the same questions as you ,But I haven't known the solution with this problem,have you got the answer? Could you help me?
0 Kudos
Message 3 of 4
(3,858 Views)

Hi Evan,

 

Four years later my memory is a bit foggy, but I do remember there were some functions that responded to callbacks, such as left clicking and dragging.   The callbacks would occur, but no changes occurred on the activex control unless you used code to explicity make the change.  For example clicking and dragging an object had no effect unless you had a callback that went to some code you had written explicitely saying to select object A at some specific x/y coordinate and then move object A to some new x/y coordinate.  I had to write a bunch of functions through the callbacks to literally move/select/resize things when clicks occurred.  It took a lot of time, and obviously wasn't as robust as using Visio through the MS Visio application. 

 

Maybe newer versions of CVI have better support.

0 Kudos
Message 4 of 4
(3,786 Views)