How can I jump to a textbox if the user left it empty. The if-else I used displays the message box but still continues the rest of the code.
Here's my code:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If TextBox1.Text = "" Then
MsgBox("enter word to search for")
End If
WebBrowser1.Hide()
You can do this: