Open a Page in VB

Discussion in 'Programming General' started by BobTheCat, Dec 19, 2008.

Open a Page in VB
  1. Unread #1 - Dec 19, 2008 at 2:53 AM
  2. BobTheCat
    Joined:
    Aug 8, 2005
    Posts:
    784
    Referrals:
    1
    Sythe Gold:
    0

    BobTheCat Apprentice
    Banned

    Open a Page in VB

    Basically I want to be able to open a page in VB then sort of do a 'view source' type of thing so I could search through the text of the page. Any help?
     
  3. Unread #2 - Dec 21, 2008 at 2:02 AM
  4. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    Open a Page in VB

    Right click on your components. Look for Microsoft Internet Transfer Control. Check it then add it to your form.

    Under the Sub u want put
    Code:
    Html=Inet1.OpenUrl("SITE")
     
  5. Unread #3 - Dec 21, 2008 at 2:43 PM
  6. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    Open a Page in VB

    Then if you want to display it in a textbox, you'd naturally do Text1.Text = Html. Also, don't forget to declare your Html variable as a string (Dim Html As String).
     
< Java Vs C# | where to start? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site