borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (HTML-based Cataloguer?)Next Topic (Microsoft Internet Controls) New Topic New Poll Post Reply
AndreaVB Forum : Internet Applications : Download text from a webpage
Poster Message
oxfordtgp
Level: Guest


icon Download text from a webpage

Hi!

I was wondering if anyone knows how to download all the text (and only the text) from a webpage in VB6?

09-01-2003 at 10:40 PM
| Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Izzit Possibil?

quote:
oxfordtgp wrote:
Hi!

I was wondering if anyone knows how to download all the text (and only the text) from a webpage in VB6?


is this possible? JL?

all ican do right now is to just download the source code of the internet page..

is that what you are asking?
    

well, anyway, here's code for what i have.


' No declerations
' just place a microsft internet transfer control 6.0 on your form and a txtbox

Private Sub Form_Load()
Inet1.OpenURL ("http://www.andreavb.com")
Text1.Text = Text1 & Inet1.OpenURL
End Sub


sorry if this ain't what yer lookin' for.


____________________________
Been busy trying to take a second degree <--it's not working out...
10-01-2003 at 06:00 PM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1616
icon Re: Download text from a webpage

Well, in order to get the text, you have to get the code for the page. Getting rid of the HTML stuff could be tricky, but not impossible.

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

10-01-2003 at 08:02 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: Re: Download text from a webpage

quote:
JLRodgers wrote:
Well, in order to get the text, you have to get the code for the page. Getting rid of the HTML stuff could be tricky, but not impossible.


i totally agree...

that's what i also wanted to mention...

it would be really tedious to code for removing the other stuff, though i think the code i posted is the starting point of this inevitable madness.


____________________________
Been busy trying to take a second degree <--it's not working out...
11-01-2003 at 07:01 PM
View Profile Send Email to User Show All Posts | Quote Reply
oxfordtgp
Level: Guest

icon Re: Izzit Possibil?

This will do. Thanks for the help.  

11-01-2003 at 08:09 PM
| Quote Reply
AndreaVB Forum : Internet Applications : Download text from a webpage
Previous Topic (HTML-based Cataloguer?)Next Topic (Microsoft Internet Controls) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder