Shortest VB6 HTML scrape code
Hello all. I was wondering if anyone has some insight as to the easiest (least code) way to accomplish an equivalent of the following using VB6:
#---begin python code---
data = urllib.urlopen("http://www.google.com").read()
#---end python code---
In case this isn't self explanatory, these three lines of python code will fetch the HTML source of a page and print it to the screen.
So far, the things that I can think of are:
winsock, wininet, asyncread, XMLHTTPRequest
Thanks in advance!
XMLHTTPRequest is pretty straightforward. There's also the OpenURL method of the Internet Transfer control.
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
By kil4h in forum ASP.NET
Last Post: 11-08-2005, 05:52 AM
Last Post: 03-04-2002, 06:40 PM
By Greg Rothlander in forum XML
Last Post: 08-03-2001, 05:49 AM
By James in forum VB Classic
Last Post: 02-21-2001, 12:47 PM
By Eng Heong in forum Web
Last Post: 06-28-2000, 03:54 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center