Well, this code works as expected.
Basically I have a form with four fields.
1. username
2. old password (you can call it secretwoord if u like.)
3. new password
4. confirmation
sorry, some text in de messages is in a foreign language.
but u'll get the idea:cool:
Private Sub B_Login_Click()...