LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to register ActiveX control during installation of my LabVIEW application

Hi,
 
I am using LabVIEW 7.0. I want to make an installer of my LabVIEW application, which will also use some ActiveX controls. How can I configure the LabVIEW Application Builder, so that it can generate an installer of my application that should register the controls only during its installation in the target PC?
 
Query 2: Can I make an ActiveX control (instead of  a DLL) of a LabVIEW 7.0 application? If yes, how?
 
Regards,
Javed
0 Kudos
Message 1 of 4
(4,102 Views)
Hi Javed,
in the installer Advanced settings there is an option to run an executable after the installation. Batch files are allowed too; in the .bat file you can register ActiveX dll's by means of the regsvr32 utility.
For you second question: I know that an LV executable (exe) can be enabled as an ActiveX server by checking the proper option in the Builder's Application settings. The server has its own interface that you can't modify, but you can execute vi's, get/set data etc. But I'm not sure that you can use an LV dll as an in-process server into a (non-LV) ActiveX client.
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 2 of 4
(4,096 Views)
 
0 Kudos
Message 3 of 4
(4,069 Views)

Hi Paolo,

I tried your suggestion to my first problem, and it worked!

I hope your suggestion to my second problem will also work.

Thank you very much,

Javed

0 Kudos
Message 4 of 4
(4,067 Views)