how to download images to a local file using C#, winforms and browser control?

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

  1. hi

    i am using the miscrosoft browser control on a windows form (win form) to
    extract html content to a local html file. I use the browser control and
    mshtml.IHTMLDocument2 as shown below.

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

    using the doc object I can have this code

    doc.images.item(object name, object index)

    can i use this? im not sure how to ge thte object name or index... Is there
    a better way to get the image from the html source and save it locally?

    I am new to this :(

    thanks ;)
     
    news.austin.rr.com, Apr 26, 2005
    #1
    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. John Boghossian
    Replies:
    10
    Views:
    790
    Steven Cheng[MSFT]
    Jan 26, 2004
  2. Joe
    Replies:
    0
    Views:
    376
  3. lurker
    Replies:
    1
    Views:
    730
    Disco Octopus
    Apr 5, 2005
  4. Replies:
    0
    Views:
    350
  5. Carl
    Replies:
    0
    Views:
    295
Loading...

Share This Page