for my combobox i want to prevent user from typing further text if the typed text do not match part of combobox items i.e from starting
Autocomplete mode set to SuggestAppend
Autocompletesource set ot Listitems
Private Sub ComboBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles ComboBox1.KeyPress
Dim i As Integer
For i = 0 To ComboBox1.Items.Count - 1
'required code
e.Handled = True
Next i
End Sub