webbrowser.documents.forms(0).submit
All i can find on the internet is to use that there to click the login button but it doesn't work.
I also found this for filling in the login forms but im having trouble understanding how it works.
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
WebBrowser1.document.All("txtUser").SetAttribute("value", "myusername")
WebBrowser1.document.All("txtPassword").SetAttribute("value", "mypassword")
WebBrowser1.document.All("btnSubmit").InvokeMember("click")
End Sub
So if anyone could explain to me how to fill a form or how to click a submit button then that would be greatly appreciated.
NOTE: I can do this in javascript so please dont post javascript.

Add Reply





MultiQuote
| 


