In a real pickle here guys, I want to limit the user to a maximum of three selections in the checked list box. And I am using the following code.
1 If count = 3 Then
2 Lowestindex = CheckedListBox3.CheckedIndices.Item(0)
3 CheckedListBox3.SetItemCheckState (Lowestindex,CheckState.Unchecked)
4 End If
I keep getting the stack overflow error, for some reason the program does want to come out of the statement on line 3.
Thanks,
Nabby
1 If count = 3 Then
2 Lowestindex = CheckedListBox3.CheckedIndices.Item(0)
3 CheckedListBox3.SetItemCheckState (Lowestindex,CheckState.Unchecked)
4 End If
I keep getting the stack overflow error, for some reason the program does want to come out of the statement on line 3.
Thanks,
Nabby