Accessing images in Webbrowser control to



Hello.

Im automating the Webbrowser control
({8856F961-340A-11D0-A96B-00C04FD705A2})

I want to acces the images displayed on the page. Is there some way to
I can directly access the data of an image in a Webbrowser document (eg
as char * data) ?

Via Document::images I get an "IHTMLElementCollection" which I can call
"item" on to get an 'image'. I can get the "src" of the image from
this, but I dont want to have to download this myself with a separate
http client. I want to get the webbrowser to download it for me, of
give me a copy of the image data it already has for the image, or tell
me a file name where it downloaded the image to in cache or something.

Can anybody help me get direct acces to the images data of the document
or the -local- files where they are cached.

Thanks very much in advance.

P.S
Showing the statusBar or addressBar (by setting the corresponding
properties) doesnt seem to work. Do I need to call some kind of
"updateLayout" function too or is this a known bug?

.



Relevant Pages

  • Re: how do I input costum content into the Winforms.WebBrowser?
    ... then having the webbrowser navigate to that file. ... > what I would actually like to do, is to download a webpage as a string, ... > without asking the WebBrowser to download it again. ... made of the textual webpage just downloaded. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: WebBrowser - Visual Studio 2003
    ... You should be able to download the ... Paul T. ... I´m using MS Visual Studio 2003 for the development. ... since the class WebBrowser don´t work in the ...
    (microsoft.public.dotnet.framework.compactframework)
  • IHttpSecurity and OnSecurityProblem
    ... of security alert dialogs when using an embedded WebBrowser. ... WebBrowser to proceed - without the dialog. ... RPC_E_RETRY simply forces a retry of the download. ... It might be possible to somehow hook into dialog creation somehow, ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Trigger Downloaddialog
    ... A servlet generated response is treaten differently each time. ... webbrowser raises correctly a download dialog, wich enables the user to save ... This happens when the data to download is small. ...
    (comp.lang.java.programmer)
  • Re: Automating signin/download file from website
    ... > I've tried using multiple techniques in VB, such as inet and webbrowser. ... when I ask to download the file the web server ... I assume you're trying to do this client side, not server side, correct? ...
    (microsoft.public.vb.general.discussion)