Skip to main content Skip to complementary content

Copying and registering the QlikView OCX component

Information noteWhen registering QlikView OCX v 9 and earlier in the Windows system, the version number was stored in decimal format, corresponding to the “Version” tab of the OCX file. In QlikView OCX v10, the version number has to be stored in HEX format (a.0) instead of decimal (10.0), for the development environment to recognize the QlikView OCX component correctly.

Copying the QlikView OCX control to the target computer

The QlikView OCX component (QlikOCX.ocx) must first be copied to the target computer. The OCX file may be put in any location on the disk.

The OCX file must then be registered by Windows before it can be used. Registration of OCX and DLL files is done by the program Regsvr32.exe, which can be found in the windows\system or windows\system32 directory.

After registration the OCX file may not be moved without re-registering it.

OCX registration for development purposes

If you are unfamiliar with registering OCXs follow the steps below:

  1. Double-click on the OCX file.
  2. Unless files with OCX extension are already associated with Regsvr32.exe on your computer the Windows dialog Open with will appear.
  3. Click Other and browse your way to the windows\system or windows\ system32 directory.
  4. Select Regsvr32.exe and click Open.
  5. After a few seconds a message will be shown indicating that the registration succeeded.

OCX registration for commercial purposes

If the QlikOcx has not been properly registered by the installation package, you might have to do it manually. Registration can be made from a command- line statement like:

regsvr32 /s "C:\Mypath\qlikocx.ocx"

where C:\MyPath is replaced by the relevant path the QlikOcx.ocx file on your target computer. This operation can also be performed by any commercial installation utility software. The /s modifier makes the registration run in silent mode, i.e. no messages are displayed.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com