I need a fast code to find an item in ListView (without looping, if possible). I am using the following code now. The problem is that FindItemWithText always finds the 1st substring occurrence, but not the exact match.
any solutions that wouldn't imply looping throughout the listview items?
For Each f In rc.Fields
j = Me.ListView1.FindItemWithText(f.Name).Index
If (j <> -1) Then Me.ListView1.Items(j).Checked = True
Catch ex As Exception