Re: Download progress? PDF file

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Igor,
Thank you very much.
I will try to do the test based on your hypotheses. I also hope IE or
Acrobat Reader team can give indication.

Mike


"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message
news:eovD9%23y%23FHA.3992@xxxxxxxxxxxxxxxxxxxxxxx
> "Mike J" <notvalid@xxxxxxxxx> wrote in message
> news:uXavUrx%23FHA.2520@xxxxxxxxxxxxxxxxxxxx
>> These were the events I got in reversed order.
>> After the last event, is the real loading of PDF file. (in IE, it
>> will show on Status Bar or Downloaed ( ...): ). But in the
>> IWebBrowser, nothing updated
>
> I see. To be honest, I don't know how IE gets the progress of a PDF
> document. Acrobat Reader appears to handle the download on its own, not
> through IE. I have a few hypotheses, but I have not tested any of them.
>
> 1. Acrobat Reader performs the download via IE's IBindHost interface. In
> this case, IE has a chance to insert its own listener (see
> IBindStatusCallback) in the chain.
> 2. Acrobat Reader notifies the host of progress using
> IOleCommandTarget::Exec with OLECMDID_SETPROGRESSPOS,
> OLECMDID_SETPROGRESSMAX and OLECMDID_SETPROGRESSTEXT commands.
> 3. IE has a special knowledge of Acrobat Reader and obtains progress
> indication using some AR-specific interfaces.
>
> In case of #1, I seem to recall that WebBrowser control forwards requests
> for IBindHost to its container, so you have a chance to implement it.
> In case of #2, I don't know whether WB forwards those commands or not. If
> not, I don't immediately see how to obtain them.
> I have no clue about #3 really.
> --
> 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: why does linux-base-f7 exist if the binary compatibility is to a kernel too old to run i
    ... linux_base-f7-7 Base set of packages needed in Linux mode (for ... home would not start acrobat reader using compat.linux.osrelease=2.6.16 ... Theres work in progress to update the binary compatibility. ...
    (freebsd-questions)
  • Re: Download progress? PDF file
    ... is the real loading of PDF file. ... I don't know how IE gets the progress of a PDF ... Acrobat Reader performs the download via IE's IBindHost interface. ... OLECMDID_SETPROGRESSMAX and OLECMDID_SETPROGRESSTEXT commands. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)