combo.text = webbrowser.navigate

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

combo.text = webbrowser.navigate
  1. Unread #1 - Jul 29, 2007 at 5:37 AM
  2. Le_Dark_Lord
    Joined:
    Dec 6, 2005
    Posts:
    451
    Referrals:
    3
    Sythe Gold:
    0

    Le_Dark_Lord Forum Addict
    Banned

    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?
     
  3. Unread #2 - Jul 29, 2007 at 5:40 AM
  4. Ryan
    Joined:
    Mar 14, 2006
    Posts:
    2,946
    Referrals:
    31
    Sythe Gold:
    56

    Ryan Hopeless Romantic
    Banned

    combo.text = webbrowser.navigate

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

    webbrowser1.navigate
     
  5. Unread #3 - Jul 29, 2007 at 6:06 AM
  6. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    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/"
     
  7. Unread #4 - Jul 29, 2007 at 6:59 AM
  8. Le_Dark_Lord
    Joined:
    Dec 6, 2005
    Posts:
    451
    Referrals:
    3
    Sythe Gold:
    0

    Le_Dark_Lord Forum Addict
    Banned

    combo.text = webbrowser.navigate

    Still not working =(

    thats strange..
     
  9. Unread #5 - Jul 29, 2007 at 9:26 AM
  10. LeetScape
    Joined:
    May 27, 2007
    Posts:
    126
    Referrals:
    0
    Sythe Gold:
    1

    LeetScape Active Member

    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 ;)
     
  11. Unread #6 - Jul 29, 2007 at 12:49 PM
  12. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    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
     
  13. Unread #7 - Jul 31, 2007 at 9:25 PM
  14. DaveDaDon
    Referrals:
    0

    DaveDaDon Guest

    combo.text = webbrowser.navigate

    Yeah check over the name for your webbrowser

    WEBROWSERNAME.navigate ("http://website.com")
     
  15. Unread #8 - Jul 31, 2007 at 11:17 PM
  16. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

    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)
     
  17. Unread #9 - Jul 31, 2007 at 11:20 PM
  18. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

    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
     
  19. Unread #10 - Jul 31, 2007 at 11:21 PM
  20. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

    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
     
  21. Unread #11 - Jul 31, 2007 at 11:22 PM
  22. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site