Link to home
Start Free TrialLog in
Avatar of Matrix1000
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?
SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Assuming WinForms application, not ASP.NET.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Matrix1000
Matrix1000

ASKER

I'd like to search by text...
Thanks
FernandoSoto your example worked great thanks!

What can I do to modify the code to show a message if the stocknumber was not found?
figured it out thanks!