I am writing a program that should have the ability to search through the contents of a list box. I would like to set it up so that as you type text into a textbox it compares that text to the text in the listbox. If the text in the list box does not partain to the text in the textbox it want it removed. And when the text box it cleared I want the listbox to be restored to the original contents.

I know this is kind of confusing but if anyone can help me I would appreciate it.

Thanks,
Mark