Return to Snippet

Revision: 24025
at February 18, 2010 18:51 by brandonio21


Initial Code
Public Class Form1

 

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If TextBox1.Text = "brandon" Then
            If TextBox2.Text = "brandon" Then
                Dim login As String
                login = "Login Successful!"
                MsgBox(login)
            Else
                MsgBox("Wrong Password!")
            End If
        Else
            MsgBox("Wrong username!")
        End If
    End Sub
End Class

Initial URL

                                

Initial Description
//Made by Brandonio21\\

Initial Title
REQUEST : PASSWORD PROTECTION

Initial Tags

                                

Initial Language
VB.NET