Thursday, October 27, 2016

Basic Login Form


CODES HERE

(Login Button)

If txtUser.Text = "jomar" And txtPas.Text = "flores" Then
MsgBox "Access granted!!", vbInformation, "Message"
Unload Me
frm2.Show
Else
MsgBox "Access denied!", vbCritical, "Message"
End If

(Cancel Button)

Dim a As String
a = MsgBox("Are you sure you want to cancel?", vbQuestion + vbYesNo, "Message")
If a = vbYes Then
End
End If

FOLLOW US

YOUTUBE CHANNEL:http://www.youtube.com/user/MrJomarflores123

OFFICIAL WEBSITE: https://jstechtutor.blogspot.com/

No comments:

Post a Comment