Hello User, not working correctly?
Public Class HelloUser
Private Sub HelloUser_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
'Display a message box greeting the userMessageBox.Show("Hello," & txtName.Text & "! Welcome to Visual Basic 2005.", "Hello User Message")
End Sub
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
'End the program and close the form Me.Close()
End Sub
End Class
I've tried many things, but my hellouser program won't work.
|