Here is my code, where did I go wrong and what should I look at on changing?
Code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Try
For i As Integer = 0 To ListView1.Items.Count
ListView1.Items.RemoveAt(i)
Next
Catch ex As IndexOutOfRangeException
MsgBox("Index is out of bounds" & vbCrLf & ex.Message)
End Try
End Sub