ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto-Update ActiveX-references

Hello,

i have an ActiveX-file that i can use by inserting an ActiveX-Container and then inserting the registered object in this container.

After this i have some SubVis where i pass the reference in and out.

The problem is now: when i change the activex-file (add functions...) then i first have to re-register it in windows, re-insert in the container.

But also in ALL of my subvis i must click on the referecence and "select ActiveX-class".

How can this automatically be done? The reinserting once in the container is ok, but also in all subvis?

 

Thanks for all help

0 Kudos
Message 1 of 3
(2,887 Views)
Why would you have the ActiveX container in the subVIs? The subVIs only need a reference to the ActiveX class on which they need to operate. The container should be in the top-level VI only.
0 Kudos
Message 2 of 3
(2,874 Views)

Yes, i only have the container in one vi. In the other VIs are only "Automation references".

But as soon as my activeX-file changes (new registered to windows), the references become invalid and i have to click on each reference an must select in the popup "select activeX-class".

 

Message Edited by OnlyOne on 07-28-2009 09:38 AM
0 Kudos
Message 3 of 3
(2,872 Views)