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 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
Post a Comment