by MrBobo (49 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (6 Votes)
This is in response to many requests for "removing duplicates in a listbox" in the discussion forum. Using the API is almost always faster than using VB. I'm unaware of any examples here on VBC of using the API for removing dupes - I may be wrong. Either way this is a very efficient way of accomplishing this task. No need to vote - code couldn't be much simpler than this! Feel free to improve upon the code yourself. As usual all bugs come entirely free of charge.