Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1.     Private Sub FindStringButton_Click(ByVal sender As System.Object, _
  2.     ByVal e As System.EventArgs) Handles FindStringButton.Click
  3.         Dim index As Integer = ComboBox1.FindString(TextBox1.Text)
  4.         If (index < 0) Then
  5.             MessageBox.Show("Item not found.")
  6.             TextBox1.Text = String.Empty
  7.         Else
  8.             ComboBox1.SelectedIndex = index
  9.         End If
  10.     End Sub