I want to start a new thread but I am getting an error.
Here is the code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ss As Thread = New Thread(AddressOf SendPing)
ss = Nothing
Here is the sub:
Sub SendPing(ByVal ip As String, ByVal index As Integer)
How do I start a thread from a subroutine that requires certain variables to be passed to it?