Software Development Network>> VS Express Editions>> 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.
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
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 :(
oh yeah. . .
WebBrowser1.Url =
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.
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 :( )
in both .Net and VBSUX, it was
WebBrowser1.Navigate(textbox1.text)
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!
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.
WebBrowser1.Url is a Uri class (structure )
use
webBrowser1.Url.ToString()
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
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
:\
what's wrong with this?
Absolute_Zero
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 :(
tomas77777
oh yeah. . .
WebBrowser1.Url =
new Uri("http://www.microsoft.com")Ron Swank
lol
please tell me what a string is
(i know i know im a noob :( )
richard_deeming
in both .Net and VBSUX, it was
WebBrowser1.Navigate(textbox1.text)
Borelord
good or bad, all the staff i knew in VB 6 are now usless
:(
Groundhog
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(
Me.TextBox1.Text)This was tested on 8/1/2006 with Visual Basic 2005 Express Edition.
Dan Prudhoe
WebBrowser1.Url is a Uri class (structure )
use
webBrowser1.Url.ToString()
Jacquemin
yup! that helped!
but i dont get it,
in the properties it's called "url" so why Navigate :S
Jerry-liu
but that changes the url for microsofts url, i need it to change to the text in textbox1
:\
xp
Yes....
The label.text is compatible with system.string datatypes. URL is not a string and what you attempted to do should not work.
chinimimita
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