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
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL