Re: Listview auto highlight
Hi
This is quite simple, the ListView has a FindItem method which will search for a matching string in the listview (and in columns if you specify it - look at the help file for more info).
EG.
Dim li As ListItem
Set li = ListView1.FindItem("This is xline 75")
If li Is Nothing Then
MsgBox "Not Found"
Exit Sub
End If
li.EnsureVisible
Set ListView1.SelectedItem = li
Don't forget to set the 'HideSelection' property of the listview to false.
Regards
Chris Eastwood
CodeGuru - the website for developers
http://www.codeguru.com/vb