Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 2nd, 2005, 12:10 AM   #1
Firebirdracer14
Newbie
 
Join Date: Jul 2005
Posts: 15
Rep Power: 0 Firebirdracer14 is on a distinguished road
Talking Connecting 2 forms

Hi all here is a simple question I would like to know how to password protect a form say that I want to allow for someone with a specific password to be sent to Form2 but if you enter one of the other passwords it would send you to Form1?
__________________
My Site In Progress

Last edited by Firebirdracer14; Aug 2nd, 2005 at 12:22 AM.
Firebirdracer14 is offline   Reply With Quote
Old Aug 2nd, 2005, 9:07 AM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Have a central form that contains the password prompt. Write a condition to check the password... if its value one Form0.Hide (central form), Form1.Hide and Form2.Show, other password value has the opposite Hides/Shows.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Aug 2nd, 2005, 10:20 AM   #3
Firebirdracer14
Newbie
 
Join Date: Jul 2005
Posts: 15
Rep Power: 0 Firebirdracer14 is on a distinguished road
Thanks for the help Infinite.
__________________
My Site In Progress
Firebirdracer14 is offline   Reply With Quote
Old Aug 2nd, 2005, 10:28 AM   #4
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
You're welcome
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:47 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC