Select the product you need help with
How to implement a custom download managerArticle ID: 327865 This article was previously published under Q327865 On This PageSummary This step-by-step article describes how to implement a
custom download manager in Microsoft Internet Explorer 5.5 and Microsoft
Internet Explorer 6. With this feature, you can extend the functionality of
Internet Explorer and WebBrowser applications by implementing a Component
Object Model (COM) object to handle the file download process. By implementing a custom download manager, your WebBrowser application or Internet Explorer can be extended to display a custom user interface. A download manager is implemented as a COM object that exposes the IUnknown interface and the IDownloadManager interface. IDownloadManager has only one method, IDownloadManager::Download. The IDownloadManager::Download method is called by Internet Explorer or by a WebBrowser application to download a file. When a file is selected for download in a WebBrowser application, the custom download manager is accessed in one of two ways:
Note The IServiceProvider approach does not work when you right-click a link and then click Save Target As. Registering the download manager DLL always works. RequirementsThe following list outlines the recommended hardware, software, network infrastructure, and service packs that you need for this procedure:
Download headers and librariesYou must download the Internet Explorer headers and libraries for both Internet Explorer 5.5 and Internet Explorer 6, and then add them to the include and library directories. To do this, visit the following Microsoft Developer Network (MSDN) Web sites:For Internet Explorer 5.5 http://msdn.microsoft.com/downloads/samples/internet/default.asp?url=/Downloads/samples/Internet/libraries/ie55_lib/default.asp For Internet Explorer 6
(http://msdn.microsoft.com/en-US/downloads/)
http://msdn.microsoft.com/downloads/samples/internet/default.asp?url=/Downloads/samples/Internet/libraries/ie6_lib/default.asp
(http://msdn.microsoft.com/en-US/downloads/ )
Code sampleInternet Explorer 5.5PropertiesArticle ID: 327865 - Last Review: September 29, 2012 - Revision: 4.0
|



Back to the top








