The following code shows you very basic searching an object in listbox with listbox own findstring method and then select the found word in your listbox.
Dim index As Integer = ListBox1.FindString(TextBox1.Text)
ListBox1.SetSelected(index, True) 'True means to select that particular object which is found
0 comments:
Post a Comment