Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-20-2007, 07:39 AM
InternetGeek InternetGeek is offline
Newbie
 
Join Date: Jan 2007
Posts: 5
Credits: 0
Rep Power: 0
InternetGeek is on a distinguished road
Default 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
coding-change-password-form-vb_codes.gif  coding-change-password-form-password.gif  

Last edited by InternetGeek; 01-20-2007 at 07:46 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-22-2007, 10:06 AM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Credits: 3
Rep Power: 12
dirkfirst is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-22-2007, 11:33 AM
InternetGeek InternetGeek is offline
Newbie
 
Join Date: Jan 2007
Posts: 5
Credits: 0
Rep Power: 0
InternetGeek is on a distinguished road
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-22-2007, 12:42 PM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Credits: 0
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
Default

I might be able to help you if you upload the code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-23-2007, 09:39 PM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Credits: 3
Rep Power: 12
dirkfirst is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 01-24-2007, 12:59 AM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Credits: 0
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
Default

Sorry man what has PHP to do with VisualBasic?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-27-2007, 12:11 AM
jedik's Avatar   
jedik jedik is offline
Newbie
 
Join Date: Jan 2007
Posts: 13
Credits: 0
Rep Power: 0
jedik is on a distinguished road
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-03-2007, 02:22 PM
InternetGeek InternetGeek is offline
Newbie
 
Join Date: Jan 2007
Posts: 5
Credits: 0
Rep Power: 0
InternetGeek is on a distinguished road
Default

Thanks for the help people. But I have sorted it out myself.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-28-2008, 01:24 PM
datijn123 datijn123 is offline
Newbie
 
Join Date: Jan 2008
Posts: 1
Credits: 0
Rep Power: 0
datijn123 is on a distinguished road
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-08-2008, 12:39 PM
jaykishan_82 jaykishan_82 is offline
Newbie
 
Join Date: Feb 2008
Posts: 2
Credits: 0
Rep Power: 0
jaykishan_82 is on a distinguished road
Question Hi I am also looking for the same can you help ?

I am also looking for the password coading form
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot Your Password On XP? pranky Tutorials 12 04-26-2007 10:08 AM
Using change management Cosmet General Programming 2 10-30-2006 07:16 PM
Storing a Secure Password dirkfirst PHP Forum 7 07-22-2006 11:45 PM
Calling a form from another form Void Managed C++ 1 07-01-2006 10:44 AM


All times are GMT -5. The time now is 03:12 AM.

Contest Stats

WingedPanther ........ 2630.54
Xav ........ 2576.41
Brandon W ........ 1697.27
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 959.05
dcs ........ 646.09
Steve.L ........ 475.59
orjan ........ 407.96
chili5 ........ 378.6

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads