VB how to change the password regularly, vb change the password question

Updated on technology 2024-04-13
16 answers
  1. Anonymous users2024-02-07

    You can consider judging the system time. If you haven't been in contact with it for so long to change your password, if you only need to change it once a week, you can change it manually, which is safe.

    All I've been exposed to is to change passwords every 5 minutes, using some kind of pseudo-random algorithm to generate new passwords on a regular basis. Through a handheld device embedded with the same algorithm, the user can know the current password at any time.

    Above. The old wolf passing by.

  2. Anonymous users2024-02-06

    The current date is used when the program is started, and the password is changed 7 days after the last time.

  3. Anonymous users2024-02-05

    private sub command1_click()

    if trim( = then

    msgbox "The original password cannot be empty, please re-enter it! ",vbokonly + vbexclamation, "Warning"

    exit sub

    end if

    if trim( = lift) then

    msgbox "The new password cannot be empty, please re-enter the quick answer! ",vbokonly + vbexclamation, "Warning"

    exit sub

    end if

    if <>then

    msgbox "The new password entered twice is different, please re-enter it! ",vbokonly + vbexclamation, "Warning"

    exit sub

    end if

    if trim( =trim( then

    msgbox "Password change successful! ",vbokonly + vbinformation, "Tips"

    =elsemsgbox "The original password is wrong! "

    end if

    end sub

  4. Anonymous users2024-02-04

    Super generation Zheng Hui code, write on error resume next under private sub command1 click().

    It's okay to bring this sentence** suitable for any process of stupid sedan chairs.

  5. Anonymous users2024-02-03

    When the database is opened once, it must be closed before it can be opened again;

    open, then close

    An open corresponds to a close

    sql, conn, adopenkeyset, adlockpessimistic

    if then

    msgbox "No records found, please check! ",vbokonly + vbexclamation, "Warning"

    exit sub

    else if msgbox "The old password is incorrect, please re-enter it! ",vbokonly + vbexclamation, "Warning"

    exit sub

    end if

    set rs = nothing

    else =

    msgbox "Password change successful! ",vbokonly + vbinformation, "Tips"

    =end if

    end if

  6. Anonymous users2024-02-02

    else =

    msgbox "Password change successful! ",vbokonly + vbinformation, "Tips"==

    end if

    end if

  7. Anonymous users2024-02-01

    The reason you're making the error is that the database didn't shut down instantly!

    if msgbox "The old password is incorrect, please re-enter it! ",vbokonly + vbexclamation, "Warning"

    else === ** should be added here.

    set rs = nothing

    sql = select * from userinfo where username='"trim( +

    sql, conn, adopenkeyset, adlockpessimistic

    msgbox "Password change successful! ",vbokonly + vbinformation, "Tips"

  8. Anonymous users2024-01-31

    if = then

    do while "name") if then

    msgbox "Didn't find it"

    elsepasswd") =

    msgbox "Password change successful! "

    unload me

    end if

    elsemsgbox "Passwords are inconsistent! "

    end if

  9. Anonymous users2024-01-30

    For example, there is also a form2

    When you modify something in form1 in form2, add form1 in front of itThat's it.

    For example, if you want to change the text on a button in form1, this is how it works.

    aaaaaa"

  10. Anonymous users2024-01-29

    Define a common variable in the module to store the current user, how good it is to be available everywhere in the whole program, anyway, there are modules!

  11. Anonymous users2024-01-28

    sql = select * from zlb where username='"trim( ) and if = trim( then debugging, sometimes the equation is not true because of spaces.

    You can make this function into a main function as an entry point to the program.

    sql = select * from zlb where username='"trim( &

  12. Anonymous users2024-01-27

    The password must be saved, the way of saving can be a database, it can also be saved in a text file, of course, there are other ways, your form 1 ** itself is set in the program, so the password is saved, and the login of form 1 is still:"Zhang San"and AA.

    Typing is not easy, such as satisfaction, hope.

    Answer, support me.

  13. Anonymous users2024-01-26

    Probably because the string of words is broken and is judged to be an invalid program, try to cut the SQL command into several strings and then combine them, or use the format() function to operate.

  14. Anonymous users2024-01-25

    The error of select * from user is normal, because the table name user is caused by the use of the internal function user with the same name as the sql, and the solution is just to add :

    select * from [user]

    Suggestion: Check if this is the case with other table names or field names, and change the name to avoid inexplicable errors!

  15. Anonymous users2024-01-24

    set rs = new

    set = conn

    select * from user"

    Modified to: set rs = new

    select * from user",conn,3,3 other garbled characters, can't judge.

  16. Anonymous users2024-01-23

    It's best not to use select * from user, just write the field name.

    It is best not to use Chinese for field names.

    This, this, this, this.

Related questions
22 answers2024-04-13

Right-click on the left, select "Properties", then select "Settings" in the window that appears, and then drag the "Screen Resolution" below to the size of "1440*900". Hope it helps.

11 answers2024-04-13

1. Click on Account Options. 2. Click on the settings icon to enter, and select the option to click on the account. >>>More

6 answers2024-04-13

I forgot what the ascii code is.,You just look for it.,This ** is very simple.,It's a case of imitation keyboard.。 >>>More

11 answers2024-04-13

Don't use command, a timer, set interval 1000

timer1_time() >>>More

15 answers2024-04-13

It's similar to a calculator.,Numbers can be entered on the interface.,You can also use the keyboard to enter.,Later dedicated**!! >>>More