Membuat Login Password Dengan Visual Basic 6.0
Buatlah Form Seperti Di Bawah Ini:


Klik Pada Text2 Lalu Masukkan Tanda Bintang Pada Property PasswordChar (*)
klik Dua Kali Pada Tombol Ok Dan Masukkan Listing Seperti Di Bawah Ini:
Private Sub Command1_Click()
If Text1.Text = "heri afrizal" And Text2.Text = "123456" Then
MsgBox ("password anda benar")
Else
MsgBox ("pasword anda salah")
End If
Text1.Text = ""
Text2.Text = ""
Text1.SetFocus
End Sub
Program ini dibuat oleh Heri Afrizal di bireuen
