how to save an image from a web page to a local folder using code and browser control and doc object

Discussion in 'ASP .Net' started by news.austin.rr.com, Apr 24, 2005.

  1. hi im using the following code below to gain access to a browser control
    document.

    mshtml.IHTMLDocument2 doc = axWebBrowser1.Document as
    mshtml.IHTMLDocument2;

    can i use the "doc" object (doc.images) to access the images and then do
    something to save the image to a file? im new at this...

    Thanks
    news.austin.rr.com, Apr 24, 2005
    #1
    1. Advertising

  2. news.austin.rr.com

    Kevin Guest

    try to use HTTPRequest,
    see also: www.aspsimply.com/vbnet/webgrab.aspx



    "news.austin.rr.com" <> wrote in message
    news:%...
    > hi im using the following code below to gain access to a browser control
    > document.
    >
    > mshtml.IHTMLDocument2 doc = axWebBrowser1.Document as
    > mshtml.IHTMLDocument2;
    >
    > can i use the "doc" object (doc.images) to access the images and then do
    > something to save the image to a file? im new at this...
    >
    > Thanks
    >
    >
    Kevin, Apr 25, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike John
    Replies:
    0
    Views:
    487
    Mike John
    Jul 28, 2003
  2. Bryan Ax

    web page Save Dialog specify folder?

    Bryan Ax, May 26, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    401
    Bryan Ax
    May 26, 2005
  3. Matt
    Replies:
    3
    Views:
    471
    Tor Iver Wilhelmsen
    Sep 17, 2004
  4. subhadip
    Replies:
    0
    Views:
    613
    subhadip
    Mar 28, 2007
  5. News123
    Replies:
    0
    Views:
    277
    News123
    Feb 6, 2010
Loading...

Share This Page