VB program to make login form

Program to make login form

Sample :



I can't show you complete code Directly so download full code from below .
Download the output  for the form (design).


Private Sub Command1_Click()
    Dim di As VbMsgBoxResult
   If user.Text = "VB programer" And password.Text = "vbpassword" Then
        di = MsgBox("Welcome to vb program", vbOKOnly, "Login successfully")
    Else
        di = MsgBox("Please entry a vaild user name and password", vbRetryCancel, "Incorrect")
        If di = vbCancel Then
            End
        End If
    End If
End Sub



Full Code :
Output(password.exe)

Full code(password.doc)

Full project(password.zip)

*Note Full project require Visual Basic 6.0