PRB: ActiveX Control with DLL Extension Doesn't DownloadLast reviewed: October 9, 1997Article ID: Q174864 |
The information in this article applies to:
SYMPTOMSWhen an ActiveX control with an extension of .dll is placed on an HTML page using the <OBJECT> tag and CODEBASE attribute, it may not download to the client's machine:
<OBJECT ID="PolyCtl1" WIDTH=192 HEIGHT=192 CLASSID="CLSID:4CBBC676-507F-11D0-B98B-000000000000" CODEBASE="POLYGON.DLL"> </OBJECT> CAUSEIf the directory where the DLL resides is set up with Execute access in Internet Service Manager, Internet Explorer will treat it as an ISAPI DLL and attempt to execute it.
RESOLUTIONTo resolve this problem, turn off Execute access for the directory in Internet Service Manager. Another alternative is to rename the control from .dll to .ocx. You can also create a CAB file, in which case the extension of the file being downloaded would be .cab (CAB files are documented in the ActiveX SDK and the Cabinet SDK).
STATUSThis behavior is by design.
REFERENCESActiveX SDK: http://www.microsoft.com/workshop/prog/sdk/ Cabinet SDK: http://www.microsoft.com/workshop/prog/cab/
|
Additional query words: ATL
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |