LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.ocx files are not registered?

Solved!
Go to solution
My installer will not load the .ocx files correctly. Sometimes the .ocx files are not registered?I am using Labview 8.2.1 and this problems usually happens with Vista Machines.How can I correct this?
0 Kudos
Message 1 of 6
(4,357 Views)
What ocx files are you referring to, and what installer are you referring to? Is this an installer you created for your application?
0 Kudos
Message 2 of 6
(4,348 Views)

1. Did you add the ocx to the support directory?

2. Did you try registring using regsvr32?

0 Kudos
Message 3 of 6
(4,329 Views)
I use the 8.2.1 application build along with the 8.2.1 Labview.The application is Labview and works fine. The files are for a Programming Tool done in Visual Basic.Comdlg32.ocxCwui.ocxMSCOMCTL.ocxRightx32.ocx Riched32.dllThese get installed in the system32 folder, that works, but the Tool can’t access them till they are (regsvr32) this has happened several times on a Vista windows. No problems with XP and not sure if it happens on all vista computers. How can I avoid having the customer (regsvr32)?
0 Kudos
Message 4 of 6
(4,317 Views)
I use the 8.2.1 application build along with the 8.2.1 Labview.The application is Labview and works fine. The files are for a Programming Tool done in Visual Basic.Comdlg32.ocxCwui.ocxMSCOMCTL.ocxRightx32.ocx Riched32.dllThese get installed in the system32 folder, that works, but the Tool can’t access them till they are (regsvr32) this has happened several times on a Vista windows. No problems with XP and not sure if it happens on all vista computers. How can I avoid having the customer (regsvr32)?
0 Kudos
Message 5 of 6
(4,316 Views)
Solution
Does your installer actually place those OCX files into the system32 directory, or is it some other installer? If you are doing it then you can run an additional executable to do the regsvr32. You just need to make sure the program runs under admin privileges for Vista. See How Do I Make My LabVIEW-built Installer Run an Executable After Installation?
Message 6 of 6
(4,305 Views)