T
TC
Chaplain Doug said:I want to programmatically open a file on the internet and
read its HTML, line by line. When I try for instance:
Open "http://mywebpages.comcast.net/dpruiett/index.html"
For Input As #1
I get an "Bad file name or number" error. Can anyone help
me to accomplish what I am aiming for? Thanks.
Nice try - but *definitely* no banana that way!
Perhaps look ino the microsoft WebBrowser control. You drop that control on
your page, then use its .Navigate method to open the URL that you want.
Understand that HTML is not really a line oriented language. Parsing HTML is
way more complicated than reading it in "line by line". The HTML that a
website gave you today, comprising 50 lines of HTML, might be delivered in
40 lines tomorrow, and 85 lines the day afterwards!
HTH,
TC