Hi,
It took me days to figure this one out...
First, all the AX components and dependencies has to be on the machine and
registered. So copy them to windows\system32 and use regsvr32.exe to
register them. (Installing a computer with a more complete setup also seems
to make a difference, is the destination pc by any change a laptop?)
For the treeview you need:
MSComctl.ocx
MSComct2.ocx
I also needed to register some NI dll's. I'm not sure why, or even (for
sure) if this did it, but after registering the following dll's it did work.
Before I registered them, the development environment did run the treeview,
the executable didn't.
nicont.dll
nicontdt.dll
If it only has to run on one machine, you're in luck. My application could
be installed on any machine
, so I needed to automate the entire process. I
created LabVIEW executable to copy and register everything, and run the
executable automatically through the installer.
Please let us know how it works out.
Regards,
Wiebe.
"lvw" wrote in message
news:506500000008000000AFE00000-1079395200000@exchange.ni.com...
> I am using an ActiveX (Version 6.0 SP4) treeview control within my
> LabVIEW 6.1 application. After building an executable it works fine on
> the developing machine but after installation on the target machine
> the control is empty. Only something like 'failed to create contol' is
> displayed in the center of the control. Operation system is in both
> cases WinXP SP1. Do anyone knows how to solve this problem?