15 pts.
 List box for VB6
How do I search for a text string through a list of item in a ListBox?

 



Software/Hardware used:
Visual Basic 6
ASKED: December 28, 2009  9:39 PM
UPDATED: December 30, 2009  1:08 PM

Answer Wiki:
items in the list box are linked you may use a dropdown object for that. but if u really want to be hard coded try the find or filter code.
Last Wiki Answer Submitted:  December 29, 2009  7:25 pm  by  Missing   30 pts.
All Answer Wiki Contributors:  Missing   30 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I want to check each line in a list box for example.
The text would look like this.
_Start1
xy
llll
_start3
456
y235
235
LLLDKE_start5
m2

I want to find each _start and change to UCase and then trim the line to just _START.
How difficult is it to write this code. I don’t know much about this type of code. I am a tool and die maker. So far I have the form made and the text in the Listbox. Any detailed help would be great. Thank for your comments.

 15 pts.