I am using this code to add a value to a combobox different then the one displayed: how to add value to combobox item
Lets suppose i have 3 values in my Combobox:
solved this way:
Private Sub ComboBox1_Keyup(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles ComboBox1.KeyUp ComboBox1.SelectedIndex = ComboBox1.FindStringExact(ComboBox1.Text) End Sub