Microsoft KB Archive/169438: Difference between revisions
m (Text replacement - "<" to "<") |
m (Text replacement - ">" to ">") |
||
Line 34: | Line 34: | ||
* Missing .lpk file when using a licensed ActiveX control | * Missing .lpk file when using a licensed ActiveX control | ||
* ActiveX control contains other licensed controls requiring run-time license | * ActiveX control contains other licensed controls requiring run-time license | ||
* Missing CODEBASE attribute in the ActiveX control's <OBJECT | * Missing CODEBASE attribute in the ActiveX control's <OBJECT> tag | ||
<br /> | <br /> | ||
Line 79: | Line 79: | ||
A common symptom of this problem is that the ActiveX control displays correctly in the development machine, but not on others.<br /> | A common symptom of this problem is that the ActiveX control displays correctly in the development machine, but not on others.<br /> | ||
<br /> | <br /> | ||
To use licensed controls in an HTML page on a non-licensed computer, you must generate a license package file (.lpk) and insert an <OBJECT | To use licensed controls in an HTML page on a non-licensed computer, you must generate a license package file (.lpk) and insert an <OBJECT> tag for the License Manager object before the actual <OBJECT> tag for the ActiveX controls.<br /> | ||
<br /> | <br /> | ||
For additional information, please see the following article in the Microsoft Knowledge Base: | For additional information, please see the following article in the Microsoft Knowledge Base: | ||
Line 90: | Line 90: | ||
<br /> | <br /> | ||
To work around this problem, find a non-licensed version of the same control, or another third-party control with the same functionality. In the case of the licensed Mscomm32.ocx, the version of Mscomm32.ocx that was distributed with Visual Basic 5.0 is not licensed and can be used. This control may be downloaded directly from [http://activex.microsoft.com/controls/vb5/mscomm32.cab. http://activex.microsoft.com/controls/vb5/mscomm32.cab]. | To work around this problem, find a non-licensed version of the same control, or another third-party control with the same functionality. In the case of the licensed Mscomm32.ocx, the version of Mscomm32.ocx that was distributed with Visual Basic 5.0 is not licensed and can be used. This control may be downloaded directly from [http://activex.microsoft.com/controls/vb5/mscomm32.cab. http://activex.microsoft.com/controls/vb5/mscomm32.cab]. | ||
=== Missing CODEBASE Attribute in the ActiveX Control's <OBJECT | === Missing CODEBASE Attribute in the ActiveX Control's <OBJECT> Tag === | ||
A machine that does not have the ActiveX control already installed will not be able to download the control without a CODEBASE specified in the <OBJECT | A machine that does not have the ActiveX control already installed will not be able to download the control without a CODEBASE specified in the <OBJECT> tag, and consequently will not be able to display the control.<br /> | ||
<br /> | <br /> | ||
Always specify a CODEBASE attribute in the control's <OBJECT | Always specify a CODEBASE attribute in the control's <OBJECT> tag, pointing to the correct download location for the control.<br /> | ||
<br /> | <br /> | ||
For example, when inserting an HTML Layout Control in your HTML page, be sure to set the Codebase attribute on the Object tag for the HTML Layout Control as follows: | For example, when inserting an HTML Layout Control in your HTML page, be sure to set the Codebase attribute on the Object tag for the HTML Layout Control as follows: | ||
Line 100: | Line 100: | ||
ID="Layout1_alx" STYLE="LEFT:0;TOP:0" | ID="Layout1_alx" STYLE="LEFT:0;TOP:0" | ||
CODEBASE="http://activex.microsoft.com/controls/ | CODEBASE="http://activex.microsoft.com/controls/ | ||
MSpert10.cab#Version=1,0,5,1" | MSpert10.cab#Version=1,0,5,1"> | ||
<PARAM NAME="ALXPATH" REF VALUE="Layout1.alx" | <PARAM NAME="ALXPATH" REF VALUE="Layout1.alx"> | ||
</OBJECT | </OBJECT> </pre> | ||
<br /> | <br /> | ||
Revision as of 20:51, 20 July 2020
The information in this article applies to:
SYMPTOMSIn some cases an ActiveX control embedded on a Web page shows up in Internet Explorer as a white box with a red x in it. In other cases, the control does not display at all.
CAUSEThis problem can be caused by any one of the following:
RESOLUTIONMissing Dependent DLLs Used by the ActiveX ControlFor a C++ control written in MFC, be sure to package the correct version of the MFC DLLs with the control, specifying them in the .inf file.
: : [Add.Code] SIMPLE.OCX=SIMPLE.OCX ASYCFILT.DLL=ASYCFILT.DLL MSVBVM50.DLL=MSVBVM50.DLL : [ASYCFILT.DLL] hook=AsycFilt.cab_Installer FileVersion=2,20,4056,1 [AsycFilt.cab_Installer] file-win32-x86=http://activex.microsoft.com/controls/vb5/AsycFilt.cab InfFile=AsycFilt.inf [MSVBVM50.DLL] hook=MSVBVM50.cab_Installer FileVersion=5,0,37,24 [MSVBVM50.cab_Installer] file-win32-x86=http://activex.microsoft.com/controls/vb5/MSVBVM50.cab InfFile=MSVBVM50.inf In some cases, a dependent DLL may be registered correctly in the client machine but no longer exist in the directory specified in the registry. This occasionally happens when a user unknowingly moves the DLL to another location or deletes the file from the machine and forgets to update the registry entries appropriately. Missing .lpk File when Using a Licensed ActiveX ControlA common symptom of this problem is that the ActiveX control displays correctly in the development machine, but not on others.
ActiveX Control Contains Other Licensed Controls Requiring Run-Time License
Missing CODEBASE Attribute in the ActiveX Control's <OBJECT> TagA machine that does not have the ActiveX control already installed will not be able to download the control without a CODEBASE specified in the <OBJECT> tag, and consequently will not be able to display the control. <OBJECT CLASSID="CLSID:812AE312-8B8E-11CF-93C8-00AA00C08FDF" ID="Layout1_alx" STYLE="LEFT:0;TOP:0" CODEBASE="http://activex.microsoft.com/controls/ MSpert10.cab#Version=1,0,5,1"> <PARAM NAME="ALXPATH" REF VALUE="Layout1.alx"> </OBJECT>
REFERENCESFor additional information, please see the following articles in the Microsoft Knowledge Base:
Additional query words: appear show up Keywords : kbActiveX kbIE300 kbIE301 kbIE400 kbIE302 kbIE500 AXSDKControls InetSDKCAB AXSDKCompDownload InetSDKControlUsag InetSDKInfoDev kbIEFAQ |
Last Reviewed: January 27, 2000 |