LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX TreeView Problem

I have a program that use TreeView from MSComm32.ocx under LabView and I
compile it using Application Builder.
It works fine on the machine where the program was developed but does'nt
work on another PC (the program start but the container is empty).
I verify that the ActiveX is correctly register and I tried to unregister it
and register again but nothing.
I don't know the way to be sure that the ActiveX component is correctly
register.

Thanks
Alessio Colzi
0 Kudos
Message 1 of 2
(2,752 Views)
Alessio,

Are you using LabVIEW 5.x? If so, then this problem is caused because there is a file called ole_lv5container.dll that must be present on the PC running the executable...this file would be on a computer with LabVIEW installed, but not on one without. I recommend you copy this file from your LabVIEW PC and put it in the same folder as the executable on your client PC. This should solve the problem.

If you are using LabVIEW 6, however, I'm not sure what the problem might be, but I do have an obscure suggestion that worked for me once. In your VI, go to the Operate pull-down menu and choose "Make Current Values Default", then save your VI, then build the EXE. I'm not sure if this is the cause, but I remember once that when I did this my ActiveX executables s
tarted functioning properly.

I hope one of these suggestions helps. Good luck with your application, and have a pleasant day.

Sincerely,
Darren N.
NI Applications Engineer
0 Kudos
Message 2 of 2
(2,752 Views)