help with web browser

Discussion in 'Programming General' started by kridan500, Apr 9, 2009.

help with web browser
  1. Unread #1 - Apr 9, 2009 at 9:39 AM
  2. kridan500
    Joined:
    Feb 11, 2007
    Posts:
    217
    Referrals:
    1
    Sythe Gold:
    0

    kridan500 Active Member
    Banned

    help with web browser

    Hello i need help with one thing in vb.6.0
    How do i do so that every url you go on it always add some text after.

    Like you go to google.com and it goes to google.com/lol.

    But not only when you write it in your url bar but also when you klick on links and such it goes to whatever link/lol

    And also when you go to any link it shows in url bar what link you are on.
     
  3. Unread #2 - Apr 10, 2009 at 7:18 AM
  4. htaed
    Joined:
    Dec 19, 2005
    Posts:
    336
    Referrals:
    0
    Sythe Gold:
    0

    htaed Forum Addict
    Banned

    help with web browser

    Code:
    Private Sub Command1_Click()
    WebBrowser1.Navigate Text1.Text + "/lol"
    Text1.Text = WebBrowser1.LocationURL
    End Sub
    
    Private Sub WebBrowser1_TitleChange(ByVal Text As String)
    Text1.Text = WebBrowser1.LocationURL
    End Sub
    
    Here you go, however if you try to make it add "/lol" after the title has changed, the title changes again so it just keeps adding "/lol" forever :p

    I'm sure if you play around you will find a way to do it - i haven't really got the time at the moment.
     
  5. Unread #3 - Apr 10, 2009 at 7:44 AM
  6. kridan500
    Joined:
    Feb 11, 2007
    Posts:
    217
    Referrals:
    1
    Sythe Gold:
    0

    kridan500 Active Member
    Banned

    help with web browser

    tyvm im going to try it now
     
< Runescape T0Olz v.0.1.0 | selling my expertise to make stuff. >

Users viewing this thread
1 guest


 
 
Adblock breaks this site