Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Coding a change password form

  1. #1
    InternetGeek is offline Newbie
    Join Date
    Jan 2007
    Posts
    5
    Rep Power
    0

    Coding a change password form

    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?
    Attached Thumbnails Attached Thumbnails Coding a change password form-vb_codes.gif   Coding a change password form-password.gif  
    Last edited by InternetGeek; 01-20-2007 at 04:46 AM.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    dirkfirst is offline Programming Expert
    Join Date
    May 2006
    Posts
    354
    Rep Power
    23
    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.

  4. #3
    InternetGeek is offline Newbie
    Join Date
    Jan 2007
    Posts
    5
    Rep Power
    0
    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.

  5. #4
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    I might be able to help you if you upload the code.

  6. #5
    dirkfirst is offline Programming Expert
    Join Date
    May 2006
    Posts
    354
    Rep Power
    23
    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?

  7. #6
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    Sorry man what has PHP to do with VisualBasic?

  8. #7
    jedik's Avatar
    jedik is offline Newbie
    Join Date
    Jan 2007
    Posts
    13
    Rep Power
    0
    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.

  9. #8
    InternetGeek is offline Newbie
    Join Date
    Jan 2007
    Posts
    5
    Rep Power
    0
    Thanks for the help people. But I have sorted it out myself.

  10. #9
    datijn123 is offline Newbie
    Join Date
    Jan 2008
    Posts
    1
    Rep Power
    0

    help

    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.

  11. #10
    jaykishan_82 is offline Newbie
    Join Date
    Feb 2008
    Posts
    2
    Rep Power
    0

    Question Hi I am also looking for the same can you help ?

    I am also looking for the password coading form

Closed Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 10-24-2011, 02:44 PM
  2. Password change using VBA in Excel 2003.
    By WolfEyes in forum Visual Basic Programming
    Replies: 0
    Last Post: 05-21-2011, 07:13 AM
  3. How to change the style of the form ?
    By kresh7 in forum Visual Basic Programming
    Replies: 84
    Last Post: 08-17-2008, 06:18 PM
  4. Enforce Password Change
    By Wanch in forum Linux/Unix General
    Replies: 6
    Last Post: 03-22-2008, 07:52 PM
  5. How to make a Password form by using office access ?
    By kresh7 in forum Visual Basic Programming
    Replies: 9
    Last Post: 02-28-2008, 11:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts