I have a form containing a checkedlistbox, I want to be able to do a simple comparison between the checked stauts before and after to see if there has been any change. I have a copy of the "before" version of the checkedlist box and I thought I could just compare the two CheckedItems but it always thinks they are different, I could iterate through the entire checkedlistbox but I thought there would be an easier way.
the comparison is simply :
Dim CurCheckedItems As CheckedListBox.CheckedItemCollection = ReportChList.CheckedItems
Dim OldCheckedItems As CheckedListBox.CheckedItemCollection = OldReportChList.CheckedItems
If OldCheckedItems Is CurCheckedItems Then
Else
...
End If
P.S. Is there a way to do IsNot
.net 1.1 framework