in this
Tutorial i will teach you how to check all checkbox in webbrowser just Pretty
easy to check all those checkbox
For each loop can solve this problem For each input
mean every input that tag start with input example <input id="something"
type="checkbox" value="click me"/></input>
if input get attribute type = "checkbox"
then we set attribute it to checked = true
Hope Someone get help from These scrach
What you need
- A brain
- visual studio
- windows xp , vista , 7 or 8
- AND A webbrowser add to form
Please Share this post if you like this Thanks
On Error Resume Next
For Each input As HtmlElement In Me.WebBrowser1.Document.GetElementsByTagName("input")
If input.GetAttribute("type")
= "checkbox" Then
input.SetAttribute("checked",
"true")
End If
Next
No comments:
Post a Comment