Adblock breaks this site

combo.text = webbrowser.navigate

Discussion in 'Archives' started by Le_Dark_Lord, Jul 29, 2007.

  1. Le_Dark_Lord

    Le_Dark_Lord Forum Addict
    Banned

    Joined:
    Dec 6, 2005
    Posts:
    451
    Referrals:
    3
    Sythe Gold:
    0
    combo.text = webbrowser.navigate

    This is what i got and its not working...

    Code:
    Private Sub cburl_Change()
    If cburl.Text = "The Underground" Then
        WebBrowser.Navigate = "http://www.undergroundtrading.co.nr/"
    End If
    End Sub
    
    Also, how would i go about making the program connect to an IP?
     
  2. Ryan

    Ryan Hopeless Romantic
    Banned

    Joined:
    Mar 14, 2006
    Posts:
    2,946
    Referrals:
    31
    Sythe Gold:
    56
    combo.text = webbrowser.navigate

    I'm not fully sure but i think it's.

    webbrowser1.navigate
     
  3. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    combo.text = webbrowser.navigate

    You don't need the "=" sign in
    Code:
    WebBrowser.Navigate = "http://www.undergroundtrading.co.nr/"
    ...
    So change it to...
    Code:
    WebBrowser.Navigate "http://www.undergroundtrading.co.nr/"
     
  4. Le_Dark_Lord

    Le_Dark_Lord Forum Addict
    Banned

    Joined:
    Dec 6, 2005
    Posts:
    451
    Referrals:
    3
    Sythe Gold:
    0
    combo.text = webbrowser.navigate

    Still not working =(

    thats strange..
     
  5. LeetScape

    LeetScape Active Member

    Joined:
    May 27, 2007
    Posts:
    126
    Referrals:
    0
    Sythe Gold:
    1
    combo.text = webbrowser.navigate

    Try this ;)

    Code:
    Private Sub cburl_Change()
    If cburl.Text = "The Underground" Then
        WebBrowser.Navigate2 ("http://www.undergroundtrading.co.nr/")
    End If
    End Sub
    Should work ;)
     
  6. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    combo.text = webbrowser.navigate

    Code:
    Private Sub cburl_Change()
    If lcase(cburl.Text) = "the underground" Then
        WebBrowser.Navigate "http://www.undergroundtrading.co.nr/"
    End If
    End Sub
    make sure your webbrowser is called webbrowser and NOT webbrowser1
     
  7. DaveDaDon

    DaveDaDon Guest

    Referrals:
    0
    combo.text = webbrowser.navigate

    Yeah check over the name for your webbrowser

    WEBROWSERNAME.navigate ("http://website.com")
     
  8. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    combo.text = webbrowser.navigate

    oh this is easy to fix if you want to use a combo box instead of a textbox

    webbrowser1.navigate(combobox1.text)
     
  9. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    combo.text = webbrowser.navigate

    this is easy just double click on your form yes correct you need to put your code in the form and add this code and the web browser will start on that page everytime you turn it on

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    WebBrowser1.Navigate("http://www.runescape.com/")
    End Sub

    for example just change runescape to whatever website you desire
     
  10. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    combo.text = webbrowser.navigate

    this is easy just double click on your form yes correct you need to put your code in the form and add this code and the web browser will start on that page everytime you turn it on

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    WebBrowser1.Navigate("http://www.runescape.com/")
    End Sub

    for example just change runescape to whatever website you desire
     
  11. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    combo.text = webbrowser.navigate

    this is easy just double click on your form yes correct you need to put your code in the form and add this code and the web browser will start on that page everytime you turn it on

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    WebBrowser1.Navigate("http://www.runescape.com/")
    End Sub

    for example just change runescape to whatever website you desire
     
< Buying 40m via paypal bank funded 2.5-3.5 ea | Pwned Torsoing >


 
 
Adblock breaks this site