Matrix1000
asked on
Find & Select list item in list
I have a vb.net app with a listbox with some stock numbes in it and a textbox and a 'Find' button.
How would I enter a stock number into the textbox, click find, and have it highlight that stock number in the list so I don't have to search by eye?
How would I enter a stock number into the textbox, click find, and have it highlight that stock number in the list so I don't have to search by eye?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Assuming WinForms application, not ASP.NET.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'd like to search by text...
Thanks
Thanks
ASKER
FernandoSoto your example worked great thanks!
What can I do to modify the code to show a message if the stocknumber was not found?
What can I do to modify the code to show a message if the stocknumber was not found?
ASKER
figured it out thanks!