by brian lim (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 19th July 2007
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
password and timer
API Declarations
and for the time use one timer and 1 label
if txtPassword.text="your password" then
form2.show
me.hide
end if
if txtPassword.text="your password" then
else
msgbox"INVALIDE PASSWORD, retry again!",2+34"login"
txtPassword.text=""
textpassword.setfocus
send keys"{home}+{end}"
end if
end sub
-------
private sub timer1_click()
label1.caption=format(now,"dddddd")
label1.caption=format(time,"hh:ss:mm am/pm
end sub