I cant seem to get the following code to work in VB 2005 (im new at VB.net) for windows mobile 5 Pocket PC CF 2.0:
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
WebBrowser1.Document.GetElementById("nameInput").InnerText = "xxxxxx"
End Sub
There is a textbox on the webpage named "nameInput" and i was just testing to see if it would put "xxxxxx" inside it after i hit the button to submit it (code not shown for that but is needed as well).
I keep getting this error for the WebBrowser1.Document line:
Error 1 'Document' is not a member of 'System.Windows.Forms.WebBrowser'
How can i correct this for what i need to do Any help would be great as i am stuck with this one right now!
Thanks! :)
David