I want to pass a security key to my webserver use the web server to validate and build serverside a web page then in my form populate labels with the correct information.
in essence my code works asl ong as i first populate the webbrowser then select a button on my form to populate the information. BUt when i put the code below together in one sub it stops working im assuming its because the webbrowser does not have enough time to get the data.
I ahve tried loops waiting for the ready state but my program just hangs
Madaxe
in essence my code works asl ong as i first populate the webbrowser then select a button on my form to populate the information. BUt when i put the code below together in one sub it stops working im assuming its because the webbrowser does not have enough time to get the data.
I ahve tried loops waiting for the ready state but my program just hangs
Madaxe
VB.NET:
Dim Mywebbrowser As New WebBrowser
Mywebbrowser.Navigate("http://www.google.com/CGI_BIN/Key.cgi?Key=23456")
Dim els As HtmlElementCollection = Mywebbrowser.Document.All
Dim Element As HtmlElement = els.Item(0)
Dim String1 As String = Element.InnerText
Dim myarray = Strings.Split(String1, " ")