Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[help plz] i need help with this error plz[help plz]

I'm trying to make a browser and I have all the coding in but i have one error that stops it from working,
heres the code;
Code
WebBrowser1.navigate(Combobox1.text)
the error comes up under the (combobox1.text) it tells me that referance to a non-shared member requires and object referance
please help thanks in advance
Did you dim combobox1.text as a string ?

Kik - Krookedlabratories
No i didn't so I'm guessing thats my problem I have to put that above the webbrowser1.navigate(combobox1.text) so it looks like this;
Code
dim combobox1.text
webbrowser1.navigate(combobox1.text)
don't I, please corret me if I'm wrong and thanks for your help
Almost

Code
Dim site As String = combobox1.Text
WebBrowser1.Navigate(site)

Your done

Kik - Krookedlabratories
(Oct 14, 2011 02:50 AM)зяяоя Wrote:  Almost

Code
Dim site As String = combobox1.Text
WebBrowser1.Navigate(site)

Your done

thank you so much for helping me out, I'll fix the code right away thanks again
(Oct 14, 2011 03:00 AM)Project13 Wrote:  thank you so much for helping me out, I'll fix the code right away thanks again

Your welcome , always looking to help . Anymore problems PM me <3

Kik - Krookedlabratories
(Oct 14, 2011 03:02 AM)зяяоя Wrote:  Your welcome , always looking to help . Anymore problems PM me <3

ok thanks again, and I'll keep that in mind for next time I need help


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by A-MANJul 16, 2013 07:20 PM 0 145 Jul 16, 2013 07:20 PM
Last Post: A-MAN