Need Help With A Program Using Search In A Site
I want to make a program that i specify the ip and ports and when i search i get the results back, from this site: ipfingerprints.com/portscan.php

I made the code for the button but i can't seem to make it work.
Any help would be appreciated!
I made the code for the button but i can't seem to make it work.
Code:
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Try
For Each elem1 As HtmlElement In WebBrowser2.document.GetElementsByTagName("Scan")
WebBrowser2.document.GetElementById("remoteHost").SetAttribute("value", TextBox5.Text)
WebBrowser2.document.GetElementById("start_port").SetAttribute("value", TextBox6.Text)
WebBrowser2.document.GetElementById("end_port").SetAttribute("value", TextBox7.Text)
If elem1.GetAttribute("className") = "input-button" Then
elem1.InvokeMember("click")
End If
Next
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub