Re: File Download Event problem



"Suraj" <surajaecster@xxxxxxxxx> wrote in message
news:1193727678.274061.249990@xxxxxxxxxxxxxxxxxxxxxxxxxxx
I am creating an applictaion using MFC and IE automation and trying to
calculate file download time(eg. Time taken to download a mail
attachment).
Now when i click on ant Download link, File download dialog box
appears and IE fires event
FILEDOWNLOAD . But the actual download starts after i click on Save
in Save as dialog box which appears when i click on save in File
download dialog box.
But there is no notification of the completion of download of the
file .

FileDownload event lets you take over the download process - show your
own dialog, perform the download yourself. Then you can instrument it.

If for some reason you insist on hooking into the standard download
process, there's a way to do this, but it's a lot of work:

http://groups.google.com/group/microsoft.public.inetsdk.programming.mshtml_hosting/msg/76bf4910a289d4b3

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: No File Dnload Dialog Dnload Hangs
    ... I did find and install RegMon. ... capture then clicked the download on the website. ... >Window XP Shell/User ... >File Download Dialog popped up and the file downloaded! ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Allowing PDF and office docs with File Download disabled
    ... You will not be compromising security to any great ... > mine running Win XP SP2. ... I've disabled file download in the internet zone ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: No File Dnload Dialog Dnload Hangs
    ... File Download Dialog popped up and the file downloaded! ... >>The download then hangs. ... The screen display never ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Error code 800C0008
    ... In Hotmail click once the message with the attachment in it. ... -Just above that you will see "Download File" ... Troubleshooting Windows Media Player Error Messages ... XP) and do get the "File Download" box. ...
    (microsoft.public.windowsmedia.player)
  • Simple Problem, Answer NOT so Simple
    ... For some reason I can't download ANYTHING using IE6. ... I get the "file download" box that pops up. ... Instead about 8 seconds after the "file download" window ... Even managed to do a re-install of IE6 using a registry hack..... ...
    (microsoft.public.windows.inetexplorer.ie6.browser)