How to Create an AutoComplete in the ComboBox in VB.Net and MySQL Database

How to Create an AutoComplete in the ComboBox in VB.Net and MySQL Database

This tutorial is all about How to Create an AutoComplete in the ComboBox in VB.Net and MySQL Database. In this tutorial, I will teach you how to create an autocomplete combo box in vb.net and MySQL database. The function of this is, when you type the first record in the Combobox, it will automatically suggest and append. That you don’t have to click anymore the dropdown and scroll down the list of records that you’re going to select.

Watch the Video Below on How Load MySQL Data to Combobox Using VB.Net

So, Let’s Begin:

Open the Visual Basic and Create a new Windows Form Application. Then, set the Form just like this.
autocompletecomboboxform1
After setting up the Form, double click it and set the connection of MySQL Database to Visual Basic. After that, declare all the classes that are needed above the Form1_Load.

 

In the Form1_Load, set up a method for filling data in the ComboBox.

 

After that, go back to the Form Design. Click the ComboBox and go the the Properties. In the properties, hit the “AutoCompleteMode” and select “SuggestAppend”. Then, hit again the “AutoCompleteSource” and select “ListItems”.
autocompletecomboboxform2

Now, press F5 on the keyboard to run your project.

You can download the complete source code of AutoComplete in the ComboBox in VB.Net and MySQL Database. Just click the code file.

The database of the project is in here

DOWNLOAD HERE

 

Readers might read also:

 

 

 

Comments 13 Responses

  1. Plenty Of Fish My Profile October 17, 2015
    • admin October 17, 2015
  2. AliciaPatton January 15, 2016
  3. Albertina93Y February 7, 2016
  4. JessLytle16 February 8, 2016
  5. trishaherr36 February 21, 2016
  6. MickiMoncrieff February 26, 2016
  7. rudymowll523749 March 13, 2016
  8. arnulfoiliffe April 8, 2016
  9. rollandarida80 April 14, 2016
  10. wadewilkins1669 May 22, 2016
  11. wadewilkins1669 May 26, 2016
  12. German October 21, 2020

Leave a Comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.