Adblock breaks this site

Open a Page in VB

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

  1. BobTheCat

    BobTheCat Apprentice
    Banned

    Joined:
    Aug 8, 2005
    Posts:
    784
    Referrals:
    1
    Sythe Gold:
    0
    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?
     
  2. jdsfighter

    jdsfighter Forum Addict
    Visual Basic Programmers

    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0
    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")
     
  3. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

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


 
 
Adblock breaks this site