Download webpage with images

  • Thread starter Thread starter CJ
  • Start date Start date
C

CJ

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


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

Marc
 
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!
 
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
 
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=WebBrowser), 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
 
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.
 
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
 
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.
 
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
 
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
 
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

Sorry if this doesn't help, but I searched for something completely
unrelated - and read this message because it interested me.

I think that you want a basic image scraping utility per URL.
Something more like these two titles:

WebGrab! by JSAC
http://betterwindowssoftware.com/products-78076.html

Adsen Image Grab (version: 1.2) by Adsen Software
http://betterwindowssoftware.com/products-32348.html

regards,
Brian
 
Back
Top