Good afternoon,
I am attempting to programatically select the first row in my listview when a command button is clicked. I've seen some examples for vb.net but I cant seem to find any for vb6.
I've tried
but i get an 'index out of bounds' error.
Thoughts?
Thanks in advanced!
I am attempting to programatically select the first row in my listview when a command button is clicked. I've seen some examples for vb.net but I cant seem to find any for vb6.
I've tried
Code:
Listview.ListItems(index).Selected = True
Listview.ListItems(index).EnsureVisible
Thoughts?
Thanks in advanced!