damien121
Forum Addict
Hello,
i am new to visual basic but know just a few things.
Right now i am wondering....
i know how to connect to a website via commandbutton.
This code works:
CODEPrivate Sub Command1_Click()
WebBrowser1.Navigate "www.solidrune.com"
End Sub
And i want to know how it would connect to the website they have typed in a certain textbox.
someone said this...
QUOTE
Well instead of typing the url type text1.text (which is what you should name it before doing it)
eg:
Private Sub Command1_Click()
WebBrowser1.Navigate "text1.text"
End Sub
And it then connects to the website address from text1!
happy coding.
i have done this several times.
But when they type url in textbox 1 and press the command button it just says page cannot be displayed.
Please help me out.
Thanks
Origianally posted at: http://cruels.net/index.php?showtopic=5676
i am new to visual basic but know just a few things.
Right now i am wondering....
i know how to connect to a website via commandbutton.
This code works:
CODEPrivate Sub Command1_Click()
WebBrowser1.Navigate "www.solidrune.com"
End Sub
And i want to know how it would connect to the website they have typed in a certain textbox.
someone said this...
QUOTE
Well instead of typing the url type text1.text (which is what you should name it before doing it)
eg:
Private Sub Command1_Click()
WebBrowser1.Navigate "text1.text"
End Sub
And it then connects to the website address from text1!
happy coding.
i have done this several times.
But when they type url in textbox 1 and press the command button it just says page cannot be displayed.
Please help me out.
Thanks
Origianally posted at: http://cruels.net/index.php?showtopic=5676





