Closed Thread
Results 1 to 2 of 2

Thread: How to Process HTML in VB?

  1. #1
    skilletsteve is offline Learning Programmer
    Join Date
    Aug 2006
    Posts
    45
    Rep Power
    0

    How to Process HTML in VB?

    How do I use VB to access the HTML code of a website?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    Ok so add the component named "Microsoft Internet Transfer Control 6.0" if you dont know how to add a component see one of my tuts ( link in my sig )

    now on ur form add :-
    a Textbox and in its properties make Multiline to True and Scrollbars Both

    the Microsoft Internet Transfer Control 6.0

    A command button

    and add this code:-
    Code:
    Private Sub Command1_Click()
    Website = Inet1.OpenURL("www.google.com")
    Text1.Text = Website
    End Sub
    and now press Command1 and in text1.text after a while you will be displayed the source!

    Hope this helped!

    EDIT:-
    Instead of a textbox you could use a Rich Text Box Component for a better display of the source!
    Last edited by TcM; 08-30-2006 at 10:52 AM.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. process detection
    By ostach in forum C and C++
    Replies: 1
    Last Post: 03-11-2010, 12:53 AM
  2. Need some help in the learning process.
    By Parabola in forum C# Programming
    Replies: 5
    Last Post: 08-13-2009, 05:40 PM
  3. process
    By ged25 in forum C# Programming
    Replies: 3
    Last Post: 05-12-2009, 04:58 PM
  4. Replies: 5
    Last Post: 02-02-2009, 10:58 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts