Submit a webbrowser form

joe123

New member
Joined
Dec 8, 2005
Messages
1
Programming Experience
Beginner
Hi everybody !!

I have a website loaded into a WebBrowser which contains a form, several inputs.
I have found how to fill these inputs with the following code

VB.NET:
wb1.Document.All.Item("loginID").InnerText = "loginid"
but i can't get the form submitted.

I tried with javascript and
VB.NET:
wb1.Navigate("javascript:window.parent.document.forms['myaccountform'].submit()")

Does anyone knows the way to do that ? Thanks a lot.
 
Back
Top