Hi,
I am trying to code a change password form on VB6 but I am not having much luck with it.
The change password form is a separate form (frmChangePassword) to the login form but it can be accessed by a button on the login form (frmPassword). I have declared the password variable as a global variable so it could be accessed in all forms, but for some reasons, the change password form is not reading the password variable from the login form.
Any ideas?
Edit: While we on it, how do I remove a background picture from a form which is set using the properties box?
Last edited by InternetGeek; 01-20-2007 at 04:46 AM.
You have to put a mask in for the password to show with a mask.
You type: jj88
It shows: ****
Thats what you wanted right? I don't have VB6 or I would post a screenshot.
DirkFirst Tutorials | Linux Forum
No... the masking is fine.
What I mean was I cannot access the supposely global variable in the other form as the passsword variable is stored in another from- separate to the change password form.
When changing password, the old password needs to by entered and then the new password is to be entered twice, if these are correct, then the password can be changed. For some reason, the password cannot be changed, even though the old password is entered correctly. (Its the old password's fault here, not the new password verification)
I have also tried to declare the global variable using a module (Global password as string) but this does not seem to work either.
I might be able to help you if you upload the code.
Could you post the code? I'm not sure I understand but it sounds like you want to retrieve a variable from one PHP form in another? Or are you trying to get the POSTED value of the password?
DirkFirst Tutorials | Linux Forum
Sorry man what has PHP to do with VisualBasic?
See friend I know .NET and what I can tell you from that end is that you better create an Object for the frmPassword page and then use the object to do the modifications. It will work smoothly.
Thanks for the help people. But I have sorted it out myself.
DOes someone know how to read a php script in vb6? I made a pw protected php page, and now I wanna insert this in my vb6 project.
I am also looking for the password coading form
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks