Re: Streamed HTML and trapping SRC var
From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 02/18/04
- Next message: alex: "Re: How to find and get hold of IE standard toolbar window handle"
- Previous message: Thomas Ganss: "Re: Cancel Download of pictures in browser control"
- In reply to: Martin Payne: "Re: Streamed HTML and trapping SRC var"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Feb 2004 15:38:24 -0500
"Martin Payne" <martin@microcosm.co.uk> wrote in message
news:40338885.4046778@news.demon.co.uk...
> >> 1) ReportProgress - are you just saying "it is all ready now, come
and
> >> get it?"
>
> Sorry, I meant to say "ReportData"
Yes, your call to ReportData is a signal for the client to start calling
Read. It's also a basis for progress indicators and such.
> >Do you report a correct MIME type?
> For PDF I reported "application/pdf" (this is what Microsoft state the
> type to be) which still caused the message to be displayed.
> If I change this to "application/x-pdf" then the message is no longer
> displayed.
> For Word the correct type seemed to be "application/msword".
> Is there a decent list of where you can find these?
HKEY_CLASSES_ROOT\MIME\Database\Content Type
Also see "Content Type" under HKCR\<File Extension>. On my machine, the
MIME type listed under HKCR\.pdf is application/pdf
> >I suspect it expects a BINDSTATUS_CACHEFILENAMEAVAILABLE notification
> >from you.
> One thing that I was not doing was calling GetBindInfo. I suppose I
> should do this. However, it did not ask for BINDF_NEEDFILE so I
> thought that I did not have to send the
> BINDSTATUS_CACHEFILENAMEAVAILABLE notification. Is that correct?
Yes, you should not be required to report
BINDSTATUS_CACHEFILENAMEAVAILABLE if BINDF_NEEDFILE is not set.
> If I do send this notification then should the filename be the second
> parameter?
Yes, the full path and file name as the second parameter.
> Once Word is loaded it always seems to "read the file itself".
>
> If I create my own protocol then it always specifies BINDF_NEEDFILE so
> I have to create a file
Yes, I do believe MS Word requires a disk file, no way around it.
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
- Next message: alex: "Re: How to find and get hold of IE standard toolbar window handle"
- Previous message: Thomas Ganss: "Re: Cancel Download of pictures in browser control"
- In reply to: Martin Payne: "Re: Streamed HTML and trapping SRC var"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|