Hello,
How do I check to see if Netstat is selected in the Listbox.
Here is the code I'm using.
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
If ListBox1.SelectedItem = Netstat Then
End If
End Sub
How do I check to see if Netstat is selected in the Listbox.
Here is the code I'm using.
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
If ListBox1.SelectedItem = Netstat Then
End If
End Sub