I'm confused with .Net's version of the ListView box..
In VB6, If I wanted to make sure a element in the list was actually selected before working with it, i would just do a..
If lstbox.SelectedIndex > -1 Then
....Do Code...
End If
How do I make sure an element in a listview in .Net is selected? If the user doesn't select an item, then it throws an error when I try to retrieve the ListViewItem like so..
Dim lv As ListViewItem = lstChar.SelectedItems(0)
I don't even know if this is the correct way to get the selected item from the list. Is there another way to get the text from the selected item in the list?
