Hi everyone,
I'm busy working on a program that needs to store settings somehow, and have the settings saved. I don't know how to do this, so I've written a test program.
The object of the test program is to enter a 4-digit password, (sort of like a locker lock) and if the password is correct, a messagebox will pop up saying 'Password Correct' but if incorrect, a messagebox says 'Password Incorrect'. I have all of this done and set up, except for one thing, the button at the top (btnNew) that says 'Set New Code'.
A dialog box pops up with a textbox and a 'set' button (btnSetNew). I need it so that when the user presses the 'set' button, it will somehow store the data of the textbox's text so that the new password is set, and the next time the program starts it will also stay as the new password.
Thanks in advance to anyone who can help.