Hiyas,

I am loading a text file into a listbox, and the text file may have duplicates of a word, which I don't want I only want one of this word added to the list and the rest ignored sort of thing.

Now I am currently doing this by setting the sorted property to true on the listbox and then looping through the entire list checking one item with the item below it to make sure the text is not the same and if it is, remove that item.

This works fine, but it is toooooo slow a method when dealing with a medium or so size text file, is there any quicker way to do this?.

thanx for any help.