Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read in a URL as string - Webcrawler

Status
Not open for further replies.

Johnnie100

Programmer
Dec 8, 2000
31
GB
Hello and help,

I am building a webcrawler and have written it in VBScript/ASP but when I come to run it a get a server.ScriptTimeout error - I have increased the time but feel that perhaps ASP is the wrong development environment in which to code - do you agree or is there a way around this?

So I am looking to transfer the code and write a VB project to do this - VB obviously won't give any time out errors - but what I need to do is find a way of reading in a web page as a text string. i.e. I give it a URL and it returns to me the HTML as a string. I know how to do this in ASP but is there a way to do it in VB?

Thanks
Andy
 

There are several ways, XML, Webbrowser Control, INet control (as mentioned by paulbent), API ....

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top