i have a listview and also i have a text file with stored entrys in.
the first column is the name that the split function looks for.
How can i highlight this row if a entry is found in my text file?
VB.NET:
Private Sub HighLightSafeEntrys()
Dim SafeEntries() As String = _SafeList.GetEntries()
For Each line As String In SafeEntries
Dim processName As String = line.Split("*"c)(2)
Dim Name = (From item In lvDisplayRunningProcesses.Items _
Let i = DirectCast(item, ListViewItem) _
Where i.SubItems(0).Text = processName _
Select i.SubItems(0).Text).ToArray
Next
End Sub
the first column is the name that the split function looks for.
How can i highlight this row if a entry is found in my text file?