Im trying to put some code in a button that will remove any items that are checked in a checkedlistbox..
here is the code I tried that isn't working:
here is the code I tried that isn't working:
Visual Basic:
Dim i As Integer
For i = 0 To listboxMiscGoals.CheckedItems.Count - 1
listboxMiscGoals.Items.Remove(i)
Next