Hey guys.. i need someone to help here
I add an item to the listbox, i add it with an index, store the index in my array, then increment the index like so:
Then, i remove an item, using its index, i find the item in my array, so i know its index, then i do like so:Code:lstUsers.AddItem UsrName, CurIdx UserNameArray(CurIdx) = UsrName CurIdx = CurIdx + 1
This all works fine, until i try to add an entry which has previously been in and removed... any ideas??Code:lstUsers.RemoveItem CurIdx





Reply With Quote