Hello g,
This tutorial will show you how to click a button that doesn’t have an ID. You just need the button's name.
1. Requirement :
- a computer (lol)
- a Visual Basic Project with : a form,
a webbrowser, and
_ a button.
2. Start tutorial :
A. Just put in Form_Load :
B. In Button_Click put :
Source : http://howtostartprogramming.com/vb-net/...ithout-id/
I hope you like this tutorial
Sorry for my bad english :/
This tutorial will show you how to click a button that doesn’t have an ID. You just need the button's name.
1. Requirement :
- a computer (lol)
- a Visual Basic Project with : a form,
a webbrowser, and
_ a button.
2. Start tutorial :
A. Just put in Form_Load :
Code
WebBrowser1.Navigate("http://login.facebook.com/login.php")B. In Button_Click put :
Code
Dim a As HtmlElementCollection = WebBrowser1.Document.All
For Each b As HtmlElement In a
If b.GetAttribute("value") = "Log In" Then
b.InvokeMember("click")
End If
NextSource : http://howtostartprogramming.com/vb-net/...ithout-id/
I hope you like this tutorial
Sorry for my bad english :/



