Results for "Author: fredrik schultz"
Fast way to remove all duplicates (dupes) in a ListBox
This method removes all duplicates in a listbox, regardless if sorting is turned on or not. AND it's fast, short and simple (no double loops like in some other submissions). It's also case-insensitive.
Add only unique items to a listbox (no duplicates added). Fast and short without any loops.
Use this method to avoid adding an item to a ListBox that already exists. It's a lot faster and shorter than submissions that uses loops etc.
Fast way to remove all duplicates (dupes) in a ListBox
This method removes all duplicates in a listbox, regardless if sorting is turned on or not. AND it's fast, short and simple (no double loops like in some other submissions). It's also case-insensitive.
Add only unique items to a listbox (no duplicates added). Fast and short without any loops.
Use this method to avoid adding an item to a ListBox that already exists. It's a lot faster and shorter than submissions that uses loops etc.