+92 332 4229 857 99ProjectIdeas@Gmail.com

Simple ListBox Searching (Vb.net)


                                                       

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: