|
-
Feb 10th, 2012, 05:36 AM
#1
Thread Starter
New Member
A FASTER way to compare and remove duplicates between 2 listboxes
Depending on the data being used, I can have up 10,000 items in each of the 2 ListBoxs. I need to find and remove any Duplicates between the 2.
I am currently using the method of select and Item from Listbox1 and search in Listbox2. If I find a match, then remove both items. This goes back and forth until all the duplicates have been removed. This take some time.
Is there a faster way of accomplishing my goal. I have searched the NET for the past 2 days trying to find ways to get there. Still have not come with something that works for me.
Currently have the code in Old VB6 and VB2008 Express.
Any help would be much appreciated.
Regards,
B.Giles
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|