Hello everyone. I have a small problem I am trying to get around.

I have a program that reads data from text files (working on talking the dept to let me use a database for the text files, but not there yet) and puts the data into listviews.

The Listviews have mutlipel columns and I have comboboxes for each column in each ListView.

The reason for the comboboxes is so the users can filter the data being shown in the listviews.

I was getting duplicate values in the comboboxes list because some of the data in the listviews has the same values in certain columns.

So i added a procedure that checks to see if a value is already in the combobox list and adds it if it isn't.

This has added a large amount of time to the load time of the form. Is there another way of doing this i am missing?

Another thing that is adding even more time is I have a procedure that resizes the columns in the listview and the resizes the comboxes so that it kinds of aligns the comboboxes with the columns. So the correct combobox is above the correct column.

Thanks in advance for your help and/or ideas!