Shortest VB6 HTML scrape code

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Shortest VB6 HTML scrape code

  1. #1
    Join Date
    Sep 2006

    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---

    import urllib
    data = urllib.urlopen("").read()
    print data

    #---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!

  2. #2
    Join Date
    Nov 2003
    Portland, OR
    XMLHTTPRequest is pretty straightforward. There's also the OpenURL method of the Internet Transfer control.
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. ASP.NET > Image Button HTML result code
    By kil4h in forum ASP.NET
    Replies: 3
    Last Post: 11-08-2005, 04:52 AM
  2. .NET equals Efficiency
    By Kevin in forum .NET
    Replies: 150
    Last Post: 03-04-2002, 05:40 PM
  3. Why is XML/XSL so slow when creating HTML code?
    By Greg Rothlander in forum XML
    Replies: 2
    Last Post: 08-03-2001, 04:49 AM
  4. Replies: 2
    Last Post: 02-21-2001, 11:47 AM
  5. Scrambing html source code
    By Eng Heong in forum Web
    Replies: 13
    Last Post: 06-28-2000, 02:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center