I use the following code to delete items in a listview control.
Private Sub cmdDelete_Click()
If lsvChoices.ListItems.Count <> 0 Then
If lsvChoices.SelectedItem.Index <> 0 Then
This works if I select an item and click the Delete button. The problem is if nothing is selected and I click the button, one of the items is deleted. How do I fix this?