Which htmlelement is causing the exception to be thrown? What is it's inner text, inner html, etc?
Instead of looping over ALL of the elements, use GetElementsByTagName("input"), or whatever type of element the 'verify button' is, and continue from there. Still get the exception?
edit: first image: Are you trying to show a list of players who are using YOUR program, or, a list of players available in the flash game? If the 2nd, idk.
I tested
Code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim _elems As HtmlElementCollection = WebBrowser1.Document.All
Dim _str As String = ""
For Each xx As HtmlElement In _elems
_str = xx.GetAttribute("value")
If _str = "Verify" Then
MsgBox("Exception?") ''this didn't occur on the home page
ElseIf _str <> "" Then
MsgBox("value: " & _str) ''this occurred a few times
End If
Next
End Sub
and can't get an exception..but then again I'm only on the home page.