I was wonder how to submit on this html code <input type="submit" class="button" value="Login"> i have tried using

WebBrowser1.Document.All("Login").Click

but it doesnt work for me

Hi,

I think you should do it this way.
Add this part of code into a Button Click event:

If Me.WebBrowser1.DocumentText.Contains("Login") Then           
 MsgBox("The login is ok!")
 End If
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.