-
'Let's say your login window has a textbox control called text1 that you use to enter your password; A button, called CMDOK, is used to click to log in; Form form1 is the form to be displayed after you enter the password, then use the following **.
private sub cmdok_click()if = "password" then 'Change password to your password.
unload me
elsemsgbox "The password is incorrect, please re-enter it. "
end if
end sub
-
private sub cmdok_click()if = "vb01" and = "123" thent1 = msgbox("VB01 landed successfully", ,"System prompts")elseif ="vb02" and = "123" thent2 = msgbox("VB02 landed successfully", ,"System prompts")else
t2 = msgbox("The username or password is incorrect", ,"System prompts")end if
end sub
-
That's a problem with the charging system of the Internet café.,Can you continue to play on it? If you don't log in, you can't log in, you can't pick up the account at the bar, and you can't open a card.
-
It's hard to find this kind of source file, and I think you want to use it to the worst of it, huh?
This kind of source file can be said to say that unless the respondent makes up one himself, 95% of the people don't have this thing, and it takes months or even a year to compile this, do you think someone will be stupid to give you the fruits of hard work for a long time to do so many bad things? Think for yourself!
-
Set the passwordchar property of the text box to"*"
This can be set directly in the properties window or in the program.
private sub form_load()= "*"
end sub
-
Set the passwordchar of your text control to *
-
MD5 Common encryption method MD5 (string).
MD5 module.
-
Add a verification before executing the main program.
Or do a verification project on its own.
After the passage of another file is executed.
Otherwise, it will not be executed.
-
Let's say it's just a fixed password, simple encryption.
Set a form 2 to start, then add a text box to form 2, and use a button to compare the content of the text box and the password set, and start form 1 in the same way
-
Strange question, you ** write directly as: whether the password entered in the text box ="password"Isn't that enough?
-
Add double quotation marks at both ends'', because inside is the format of a string.
-
Weird...
Direct input. if <>"password"
msgbox "Wrong password"
end if
It's not easy, and you don't have to query the database.
Add the user's relevant information to the database, and then add a button on the interface, called password retrieval, click the button, the form of getting the password will be displayed, and then let the customer enter the relevant information, compare it with the database, if it is correct, it will display the interface of changing the password, and then click Save after the modification, and change the password. The database can be passwordd.
Every time you enter the Windows XP desktop, there is always a user login screen that asks you to enter a username and password. The advantage of this is that there is security in an environment where multiple people use one computer. However, if you're using the computer alone, it's really annoying to have to enter your password every time. >>>More
That could be IE's system file is broken, or the secondary hyperlink may be broken. I did it as follows. >>>More
usermode) to enter the system. Enter: mountuw and press enter. >>>More
Hello, it is an honor to serve you.
Question: How to remove the login password of Windows? Solution: >>>More