vb.net - Set web browser URL to textbox contents -


i making project windows 8 app.

i set url of web browser element contents of textbox.

here code although @ present not work!

    private sub button_click_1(sender object, e routedeventargs)         webbrowser.navigate(new uri(textbox.text))      end sub 

this works windows forms project not w8 project!

edit

image demonstrates issue having

image demonstrates error getting

textbox name of class. since doesn't have shared property named text, saying need to text property of instance of class.

typically in winforms, if drag textbox onto form, it'll name textbox1. you'd want .text property of specific textbox instance textbox1.instance. i'm not entirely sure textbox named in w8.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -