Download webpage with images

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CJ

    #1

    Download webpage with images

    Can someone tell me how to download a webpage complete with images and
    insert
    it into a richtextbox?


    Thanks


  • Marc Gravell

    #2
    Re: Download webpage with images

    How about you use a WebBrowser control instead? That should be a far
    simpler task; just Navigate(yourUr l) and you're done...?

    Marc

    Comment

    • Roger Frost

      #3
      Re: Download webpage with images

      There is an actual WebBrowser control for viewing web content in your
      application. I'm not sure in which version it was introduced, but Visual C#
      2008 Express has one in the toolbox.


      Hope this helps!

      --
      Roger Frost
      "Logic Is Syntax Independent"



      "CJ" <cjrivers@noema il.comwrote in message
      news:O3kP07xdIH A.4712@TK2MSFTN GP04.phx.gbl...
      Can someone tell me how to download a webpage complete with images and
      insert
      it into a richtextbox?
      >
      >
      Thanks
      >

      Comment

      • Marc Gravell

        #4
        Re: Download webpage with images

        I'm not sure in which version it was introduced
        ..NET Framework 2.0
        Visual Studio 2005 (all variants)

        Before then you could presumably use interop to the ActiveX facet of
        shdocvw.

        Marc

        Comment

        • CJ

          #5
          Re: Download webpage with images

          Well I want to save it to a database too, I don't just want to view it.

          "Marc Gravell" <marc.gravell@g mail.comwrote in message
          news:2c8c05a8-37a3-45f7-823a-9b35083119fb@d5 g2000hsc.google groups.com...
          How about you use a WebBrowser control instead? That should be a far
          simpler task; just Navigate(yourUr l) and you're done...?
          >
          Marc

          Comment

          • Marc Gravell

            #6
            Re: Download webpage with images

            Well I want to save it to a database too, I don't just want to view it.

            There are various tools for this type of thing - a few leap to mind
            that would allow you to grab a page as pdf (ABCpdf, HTMLDOC, etc). You
            could perhaps try and automate the "mht" download from IE
            (=shdocvw=WebBr owser), but I suspect it might be tricky.

            I'm not /personally/ aware of any tools that to direct HTML =RTF
            translation, but google may have some hits...

            Marc

            Comment

            • CJ

              #7
              Re: Download webpage with images

              It doesn't really have to be html to rtf, I want to be able to type in
              a url and have my program download that specific page plus the
              images and save it to a db.


              "Marc Gravell" <marc.gravell@g mail.comwrote in message
              news:df6527d9-e21a-41c2-b411-f78c668eec6a@j2 8g2000hsj.googl egroups.com...
              >Well I want to save it to a database too, I don't just want to view it.
              >
              There are various tools for this type of thing - a few leap to mind
              that would allow you to grab a page as pdf (ABCpdf, HTMLDOC, etc). You
              could perhaps try and automate the "mht" download from IE
              (=shdocvw=WebBr owser), but I suspect it might be tricky.
              >
              I'm not /personally/ aware of any tools that to direct HTML =RTF
              translation, but google may have some hits...
              >
              Marc

              Comment

              • Marc Gravell

                #8
                Re: Download webpage with images

                I want to be able to type in a url and have my program download
                that specific page plus the images and save it to a db.
                Then either of the 2 cited tools should suffice; if not, post back?

                Marc

                Comment

                • CJ

                  #9
                  Re: Download webpage with images

                  I was looking at this program that does something like I want, and I noticed
                  that they are using a webbrowser component to download and view the page.
                  But what are they doing to store the contents of the page to a db, that is
                  the
                  question.


                  "Marc Gravell" <marc.gravell@g mail.comwrote in message
                  news:418a75b7-69fc-4776-ab26-ab617f2c2b00@o7 7g2000hsf.googl egroups.com...
                  >I want to be able to type in a url and have my program download
                  >that specific page plus the images and save it to a db.
                  >
                  Then either of the 2 cited tools should suffice; if not, post back?
                  >
                  Marc

                  Comment

                  • Marc Gravell

                    #10
                    Re: Download webpage with images

                    I was looking at this program that does something like I want...

                    Sorry, which program? Was there an attachment (if so it got stripped
                    by my reader)?

                    Marc

                    Comment

                    • Marc Gravell

                      #11
                      Re: Download webpage with images

                      Maybe I'm missing it, but I can't see anything in the overview for
                      that product that claims to anything remotely like what you have
                      described?

                      Care to ellaborate?

                      Marc

                      Comment

                      Working...