Using VB to download HTML page.
Posted on 2002-06-03
In Visual C++ I know how to connect to an HTTP server and download a given page. I usually declare an internet file object, do the necessary connections and then read through the file line by line.
How would I accomplish this in Visual Basic? I need some example code, please, for a function that might take in a URL, connect to it, and then read through the source code line by line.
(This is for data mining purposes, by the way. I chose VB over VC++ because of better string handling capability).
Thanks very much!