How to select a ListView Item Programmatically.
This is a simple process, but most people forget a little step
in doing this.
Create a ListView Item and name it to whatever
you wish. I will use lv for simplicity.
Create a Button Item
Double Click the Button to start typeing code.
Enter the following code:
Private Sub Button1_Click(......) Handles Button1.Click
lv.Items(0).Selected = True
'This is what most people forget. If you don't put this in here, it will never
select the item in the list view.
And that is it! Really Really simple, but very useful.
If you find this code useful. Vote for me.