Prevent listbox search

I have a listbox for which I've handled the "search by keystroke" utility myself.
Now, how can I disabled the default search utility associated with listboxes for it to stop to interfere with my search, making all the thing looks kinda silly!?

thanks!
SylvaniaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JuiletteCommented:
If you use the unbound list box it doesn't have the matching ability...however you need to fill it with the additem method.
0
SylvaniaAuthor Commented:
That's exactly what I have...
And that's exactly what I've done.
0
dhodgeCommented:
Handle the keypress event on the list box and set the parameter keyascii to 0.  This stops the listbox processing the key.

You could do your processing first, and when you are over remember to set the parameter value to 0.  Try it, it works quite well.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.