Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You need:
- -2 TextBoxes
- -1 Button
- -----------------------------------------------------------------------------------------------------------------------------------
- Public Class Form1
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Dim userSelection As String
- userSelection = TextBox1.Text
- userSelection.ToLower()
- If userSelection = "This is a test" Then
- TextBox2.Text = "This is an output test"
- Else
- TextBox2.Text = "Did not recognize"
- End If
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement