HomeActive Query Builder - HowTos and TroubleshootingActive Query Builder ActiveX EditionHow to distribute ActiveX control automatically through the Internet Explorer?

6.1. How to distribute ActiveX control automatically through the Internet Explorer?

ActiveX controls should not be installed on each client PC using Active Query Builder installation package. You should place the CAB and LPK files to your web site and link to them from your web page:

<OBJECT id="qb" classid="clsid:C4C9F1E5-2E72-4B58-BA61-6D63730FB7C8" CODEBASE="http://www.yourWebSite.com/path/aqbx.cab#version=1,14,0,0" " VIEWASTEXT>
   <PARAM ...>
</OBJECT>
<OBJECT CLASSID="clsid:5220CB21-C88D-11cf-B347-00AA00A28331">
   <PARAM NAME="LPKPath" VALUE="aqbx.lpk">
</OBJECT>

The cab and lpk files are available in HTMLDemo folder among with HTML code example.

If the customer's PC already had the free version installed and it doesn't replace with the new version from your web page, you may need to unregister it first using the following command: "regsvr32.exe /u C:\Path_to_ocx\ActiveQueryBuilderXControls.ocx".

This page was: Helpful | Not Helpful