Click here to Skip to main content
16,016,489 members

Comments by Member 10190163 (Top 14 by date)

Member 10190163 30-Jan-14 8:46am View    
I have now shown more code.
Member 10190163 30-Jan-14 8:46am View    
I have now shown more code.
Member 10190163 6-Sep-13 9:48am View    
OK I have fixed it now, it was because I do a check to see if the thread is being aborted before I add or remove a item from the listbox, but I wasn't doing this check before adding or removing an item from the collection. It works now.
Thanks for your help on this issue though.
Member 10190163 6-Sep-13 9:12am View    
I put your solution with the listbox_remove_0 into a vb project and it works, however I am still having sync issues when I implement it into my other code. One of those issues was because I cleared the listbox with listbox1.items.clear(), but I have fixed this now by clearing the collection with colColors.Clear(). But I still have other problems, because it is still getting out of sync.
Also I have tried using a listview but it does not accomplish what I am trying to achieve do to columns.
Member 10190163 5-Sep-13 11:15am View    
Ow sorry, I didn't see this reply before. I will have a another look at solution 1.