I saw a post about this but i cannot find it. If somebody could point me in the right direction I'd appreciate it.
What I'm trying to do is use an aspx page from a webbrowser control in a vb form. I want to submit values entered on the form into the webbrowser page and return a boolean True/False to the form.
So far the only way I've figured to get the value to the .aspx is to have it by default request a query string into the input textbox. Then based on the value submitted in the form pass it a new Url and refresh it.
I've no clue on how to return a value from the webbrowser control back to a form variable
This is how I'm submitting the value to the .aspx page on a button click:
any clue how to return a boolean value back to the form once the .navigate is finished? Or a better way to get the form value into the webbrowser page?Code:Dim strurl As String strurl = "http://SNinfo.aspx?SN=" & Me.TextBox1.Text WebBrowser1.Navigate(strurl)




Reply With Quote