Cesar Aracena
asked on
Can't pass connection from one form to another
Hi everyone,
I'm completely stuck at passing the connection info from my login form to my main form. The program should:
- Connect to the remote MySQL DB
- Fetch a list of usernames so the user select his/her
- Validate the user's password with the MD5 password stored in the DB
- If the user and password matches, show the main form
- Open the main form having the connection stablished (this is the problem)
I attached two TXT files with both forms to see if anyone can help me with this.
Thanks a lot in advanced!!
login.txt
main.txt
I'm completely stuck at passing the connection info from my login form to my main form. The program should:
- Connect to the remote MySQL DB
- Fetch a list of usernames so the user select his/her
- Validate the user's password with the MD5 password stored in the DB
- If the user and password matches, show the main form
- Open the main form having the connection stablished (this is the problem)
I attached two TXT files with both forms to see if anyone can help me with this.
Thanks a lot in advanced!!
login.txt
main.txt
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.