LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Registering ActiveX Control

Hello,

is it possible to create an installer that automatically registers an
ActiveX-Control if this is not available on the system? If not what can I do
instead?

I want to use a TreeControl (MS Common Controls) in my project (LV 6.1).
Which version of the control should I use to assure that it runs on any
Windows up from 95 to XP? Has any Windows System this Control installed by
default or is it delivered with other software?

Thanks, Marko.
0 Kudos
Message 1 of 2
(3,194 Views)
Hi,

This is possible.

This is how. You have to make a vi, that calls "reg32svr.exe" with the name
of the control (ocx, or dll). Make an executeble from this vi.

BTW, you should check if the are installed first. Make a sub vi with the
controller, and get any property. If the control is not loaded, it needs to
be register.

In the installer, you can give a name of an executabel to start after the
run time engine is installed. Tell it to start the fresh executable.

For the tree, you need mscomct2.ocx and mscomctl.ocx. Don't know about the
version, just use the ocx's that are on the PC.

Regards,

Wiebe.

"Marko Aschoff" wrote in message
news:b4hn5c$20deoj$1@ID-169652.news.dfncis.de...
> Hello,
>
> is it possible to create an installer
that automatically registers an
> ActiveX-Control if this is not available on the system? If not what can I
do
> instead?
>
> I want to use a TreeControl (MS Common Controls) in my project (LV 6.1).
> Which version of the control should I use to assure that it runs on any
> Windows up from 95 to XP? Has any Windows System this Control installed by
> default or is it delivered with other software?
>
> Thanks, Marko.
>
>
Message 2 of 2
(3,194 Views)