vb6 Listbox No Duplicates (no duplicates in listbox)

No Duplicates in Listbox

There are two ways to add items to listbox and makes sure no duplicates are added to the listbox. If the item attempting to be added to the list is already there we exit. If it is not there we add it to the list so we end up with a listbox with nothing but unique entries.

Method #1 to add Non Duplicate Items to Listbox

Method #2 to add Non Duplicate Items to Listbox