I have a ToolStripTextBox (its name is SearchBox), and I would like that after the user types something and presses the enter button, he translates them into a URL. I have a part of the URL sorted, but I need to know what happens after
Handles SearchBox.{what?}
I do not see any event in the intellisense popup for something when the user presses enter.
So, in other words, how do I perform an action after a user types input?
Private Sub ToolStripComboBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SearchBox.**?????**
Dim SearchString As String
SearchString = SearchBox.Text
Dim URL As String
URL = ("https://www.example.com/search.php?&q=" + SearchString)
Process.Start(URL)
End Sub
B-underrun
source
share