Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Reading a html page source

Reply
 
Old 04-12-2008   #1 (permalink)
Tom


 
 

Reading a html page source

Hi,
I need to read data from abot 600 www.pages which are subpages of
one particular page, something like this:

for each SubPage in ParticularSuperWebPage

s as string = readSubPageAsHTMLSource(SubPage.URL)
myInfoResult as string = findInfo(s,myinfo)
file.writeIntoTextFile(myInfoResult)

next SubPage

Can this be done with VB net ? (I assume so)
Could you point me to the assemblies/namespaces where
there is such a function as s as string =
readSubPageAsHTMLSource(SubPage.URL)

Thanks
Tom

My System SpecsSystem Spec
Old 04-12-2008   #2 (permalink)
Tom


 
 

Re: Reading a html page source

Hi,
that's me again. Sorry for any putting the problem so broadly.

The whole thing is now done - but I had to locate subpages by
searching for <a href > tags
in subpages source text. I was just curious if there is a direct net
method for iterating over subpages, which I didn't find.

Thanks for interest
Tom

Tom wrote:
Quote:

> Hi,
> I need to read data from abot 600 www.pages which are subpages of
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How to save html page source .NET General
Html source Live Mail
View Source/Html? Live Mail
Canon MP470 prints HTML source instead of page contents Vista General
Viewing HTML Source in WinMail Vista mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46