Microsoft KB Archive/169438: Difference between revisions
m (Text replacement - ">" to ">") |
m (Text replacement - """ to """) |
||
Line 97: | Line 97: | ||
<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: | ||
<pre><OBJECT CLASSID= | <pre><OBJECT CLASSID="CLSID:812AE312-8B8E-11CF-93C8-00AA00C08FDF" | ||
ID= | ID="Layout1_alx" STYLE="LEFT:0;TOP:0" | ||
CODEBASE= | CODEBASE="http://activex.microsoft.com/controls/ | ||
MSpert10.cab#Version=1,0,5,1 | MSpert10.cab#Version=1,0,5,1"> | ||
<PARAM NAME= | <PARAM NAME="ALXPATH" REF VALUE="Layout1.alx"> | ||
</OBJECT> </pre> | </OBJECT> </pre> | ||
<br /> | <br /> |
Revision as of 11:04, 21 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 |