NoobConfoobed
Member
- Joined
- Jul 12, 2012
- Messages
- 5
- Programming Experience
- Beginner
I am just practicing. This is not a project. It's purely to see if I am on the right page:
Why isn't the Message Box appearing?
Thanks, and apologies for my 'Noobiness'.
VB.NET:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If TextBox1.Text = 1 Then
MsgBox("2")
ElseIf TextBox1.Text = 2 Then
MsgBox("3")
End If
End Sub
End Class
Why isn't the Message Box appearing?
Thanks, and apologies for my 'Noobiness'.