This was posted by Serge on how to autocomplete a combobox.

what is the &gt?

When I put this code in my app, the line is red.

VB Code:
  1. Private Declare Function SendMessageStr Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
  2. Private Const CB_FINDSTRING = &H14C
  3.  
  4.  
  5. Private Sub Combo1_Change()
  6.     Dim lRetIndex As Long
  7.    
  8.     lRetIndex = SendMessageStr(Combo1.hwnd, CB_FINDSTRING, -1, ByVal Combo1.Text)
  9.     If lRetIndex >= 0 Then Combo1.ListIndex = lRetIndex
  10. End Sub