what's wrong with this?
WebBrowser1.Url = textbox1.text
in vb6 i think it would be ok,
so what's the prob in the 2005 Express Edition?
thanks.
Shaul.
WebBrowser1.Url = textbox1.text
in vb6 i think it would be ok,
so what's the prob in the 2005 Express Edition?
thanks.
Shaul.
Blair Allen Stark wrote:
oh yeah. . .
WebBrowser1.Url =
new Uri("http://www.microsoft.com")
but that changes the url for microsofts url, i need it to change to the text in textbox1
:\
Blair Allen Stark wrote:
in both .Net and VBSUX, it was
WebBrowser1.Navigate(textbox1.text)
yup! that helped!
but i dont get it,
in the properties it's called "url" so why Navigate :S
Navigate gives you a bit more control. . . url string and target
I was always under the impression that Url was read only . . . maybe that was locatiopn? or older browers?
Blair Allen Stark wrote:
Navigate gives you a bit more control. . . url string and target
I was always under the impression that Url was read only . . . maybe that was locatiopn? or older browers?
well im not the best man for VB , i just know a bit so i dont realy understand :P
hm..can u tell me why is this wrong?:
ToolStripStatusLabel2.Text = WebBrowser1.Url
Err VB 2005 is so different then VB 6 :(
Yes....
The label.text is compatible with system.string datatypes. URL is not a string and what you attempted to do should not work.
ReneeC wrote:
Yes....
The label.text is compatible with system.string datatypes. URL is not a string and what you attempted to do should not work.
lol
please tell me what a string is
(i know i know im a noob :( )
Blair Allen Stark wrote:
Shaul115 wrote:
Err VB 2005 is so different then VB 6 :( And that is a very good thing! VBSUX should never have been released!
good or bad, all the staff i knew in VB 6 are now usless
:(
Hmm, I assume this answering this post is a type of necroing, but perhaps it will help someone.
To goto the address in your web browser of the text in TextBox1.Text Use the Code as Follows
WebBrowser1.Navigate(
This was tested on 8/1/2006 with Visual Basic 2005 Express Edition.