The documentation says that you can cancel the download by setting e.cancel to true but if I try this the defaul IE Downloadwindow opens. Could anyone give me an example for stopping the download and downloading the object with a custom tool - I use for downloading the file the .NET2 Webclient but - My Download starts A N D the default download beginns also.
You may like to visit www.jcomdot.com and download and install their skinning toolbar. Then visit www.jcomdot.com/en/skin/skin2-1.htm and view the source of that page. You will see that they use cutom link class values which invoke a download method from their BHO. I presume that they are using wininet api's to do the actual file streaming and not the shdocvw.dll doFileDownload api.
When clicked, a custom progress dialog appears and the toolbar backbitmaps are downloaded to a custom folder on the clients machine.