TwoWing
Well-known member
Hello.
I have this code to find the first instance of a string in a ListView:-
Could someone please tell me how to program so that I can get the next instance of the string, and the next, and so on.
Thanks.
I have this code to find the first instance of a string in a ListView:-
VB.NET:
Dim item1 As ListViewItem
= ListView1.FindItemWithText(TextBox1.Text)
If Not (item1 Is Nothing) Then
MessageBox.Show("Found " & item1.Text)
Else
MessageBox.Show("Not in!")
End If
End Sub
Could someone please tell me how to program so that I can get the next instance of the string, and the next, and so on.
Thanks.