PRB: ActiveX Control with DLL Extension Doesn't Download

ID: Q174864


The information in this article applies to:
  • Microsoft ActiveX SDK, version 1.0
  • Microsoft Internet Explorer (Programming) version 5.0


SYMPTOMS

When 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> 


CAUSE

If 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.


RESOLUTION

To 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).


STATUS

This behavior is by design.


REFERENCES

For more information, please see the MSDN Web Workshop:

http://msdn.microsoft.com/workshop/default.asp

Additional query words: ATL

Keywords : kbCodeDownload kbIE500 kbDSupport AXSDKCompDownload kbIEFAQ
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: January 27, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.