Ahh...i see..cool thanks bro!....here is my code.
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim doc As New HtmlDocument()
doc.LoadHtml("http://www.shaggybevo.com/board/register.php")
Dim docNode As HtmlNode = doc.DocumentNode
Dim nodes As HtmlNodeCollection = docNode.SelectNodes("//input")
'SelectNodes takes a XPath expression
For Each node As HtmlNode In nodes
Dim id As String = node.GetAttributeValue("id", "value")
' Fetch id of HTML element
Dim name As String = node.GetAttributeValue("name", "value")
' Fetch parameter name (GET/POST)
' Fetch type of input element
' Do your processing now
Form2.RichTextBox1.Text = id.ToString & name.ToString
Next
End Sub
I am now getting a new error of NullReferenceException was unhandled