Membuat Login Dua Buah Form Dengan VB6.0
Buatlah Dua Buah Form Seperti Dibawah Ini


Klik
Dua Kali Di Tombol Login, Lalu Masukkan Listing Dibawah Ini
Private sub command1_click()
If text1.text = "heri
afrizal" and text2.text = "123456" then
Msgbox ("password anda
benar")
Form1.hide
Form2.show
Else
Msgbox ("pasword anda
salah")
Text1.setfocus: text1.text =
"": text2.text = ""
End if
End sub
Klik
Dua Kali Di Tombol Back,Lalu Masukkan Listing Dibawah Ini
Private sub command1_click()
Form2.hide
Form1.show
Form1.text1 = ""
Form1.text2 = ""
Form1.text1.setfocus
End sub
SELAMAT MENCOBA….!!!
Program
ini dibuat oleh Heri Afrizal di Bireuen
http://hery-pc.blogspot.com/
Komentar
Posting Komentar
Tulis komentar anda disini.....