Example
This example downloads an ActiveX control by referencing the .ocx file:<OBJECT CLASSID="clsid:99B42120-6EC7-11CF-A6C7-00AA00A47DD2" CODEBASE="http://server/control.ocx"> </OBJECT>
If an ActiveX control relies on additional DLLs to run, you must supply a .cab file that contains all necessary files, and an .inf file that specifies where to install each of the files.
Example
This example downloads and installs an ActiveX control by referencing a .cab file:<OBJECT CLASSID="clsid:99B42120-6EC7-11CF-A6C7-00AA00A47DD2 CODEBASE="http://server/control.cab"> </OBJECT>
Example
This example uses the CODEBASE attribute to specify a version number of 4.70.1165 in the pop-up menu control:<OBJECT CLASSID="CLSID:7823A620-9DD9-11CF-A662-00AA00C066D2" CODEBASE="iemenu.ocx#Version=4,70,0,1165">
The format of the version number is N,N,N,N . If you do not specify a version number, Internet Explorer will use any version of the control that is installed on the user's computer. However, to make sure that a control always downloads onto the user 's computer, specify a version number of -1,-1,-1,-1 .
* To determine the version number of a control
This file should be located in your Windows System directory.