473,378 Members | 1,333 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Download webpage with images

CJ
Can someone tell me how to download a webpage complete with images and
insert
it into a richtextbox?
Thanks
Feb 24 '08 #1
10 1706
How about you use a WebBrowser control instead? That should be a far
simpler task; just Navigate(yourUrl) and you're done...?

Marc
Feb 24 '08 #2
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" <cj******@noemail.comwrote in message
news:O3**************@TK2MSFTNGP04.phx.gbl...
Can someone tell me how to download a webpage complete with images and
insert
it into a richtextbox?
Thanks
Feb 24 '08 #3
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
Feb 24 '08 #4
CJ
Well I want to save it to a database too, I don't just want to view it.

"Marc Gravell" <ma**********@gmail.comwrote in message
news:2c**********************************@d5g2000h sc.googlegroups.com...
How about you use a WebBrowser control instead? That should be a far
simpler task; just Navigate(yourUrl) and you're done...?

Marc

Feb 24 '08 #5
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
Feb 24 '08 #6
CJ
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" <ma**********@gmail.comwrote in message
news:df**********************************@j28g2000 hsj.googlegroups.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=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

Feb 24 '08 #7
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
Feb 24 '08 #8
CJ
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" <ma**********@gmail.comwrote in message
news:41**********************************@o77g2000 hsf.googlegroups.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

Feb 25 '08 #9
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
Feb 25 '08 #10
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
Feb 25 '08 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sarah Akers | last post by:
GgF ----gL5cJ72EqiGIQ0SK65Rz Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html> <head> <style type=3D"text/css">.eyebrow { FONT-WEIGHT: bold; FONT-SIZE: 10px; TE=
0
by: Anne Snow | last post by:
7qs ----bSCMEc0pLIbJxmV9 Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE= : 10px;...
4
by: AbrahamLincolnIllinois | last post by:
Hi all. I have a simulation on my webpage that requires very fast replacements of one gif with another. I have preloaded my images. That caused a vast speed improvement. It still is not quite...
0
by: Blake Mandelbaum | last post by:
bgc ----mDuNni7bWv1kUF0gGK Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE= : 10px;...
0
by: Lynda Kilgore | last post by:
jGu ----qtHwhORV90yyhqJMOc Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE= : 10px;...
1
by: Alex | last post by:
Hi, Everyday, I download data from a webpage and manually input data into my MS Access database. I am thinking of automate the routine by a VB script. The webpage I am visiting will return a...
12
by: M.L. | last post by:
When loaded from my hard drive, the webpage I'm working on renders fine on IE6, Firefox 2.0.0.1, and Opera 9.02. However, after uploading it to the web there are 2 images that fail to display on...
5
by: John Dalberg | last post by:
I am looking for a component which I can use in my app to download a web page with all its associated files like images, css and Javascript files. Any recommendations? John Dalberg
1
by: jambalapamba | last post by:
Hi all, I want to download images,css,js files referenced by a webpage. I am doing this by downloading the HTML of webpage and getting all the URL references in the html and using...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.