TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
D W
NA
12
21.5k
Need a Windows application that simulates entering a password
Oct 25 2012 12:25 AM
Write a Windows application that simulates entering a password. The user enters a password and clicks Next. Then, the user types the password again and clicks Continue. The program will display a Message Box that displays either that the passwords match or that they don't match.
Sample output:
I type in Bob in the password field and click Next.
I type in Bob in the second password field and click Continue.
Message displayed if the passwords match:
Message displayed if the passwords are different:
Pseudocode:
Next Button Event Handler Method
If the first password textbox is not blank
Make visible the second password textbox, the Done button, and the labels
Else
Put "You must enter a password" in the label
End-If
Done Button Event Handler Method
If the first password text box is not empty
If the first password text box equals the second password textbox
Display the message "Passwords are the same"
Else
Display the message "Passwords are different"
End-If
Else
Display the message "You must enter a password"
End-If
Reply
Answers (
3
)
Need a program to alphabetize a list of last names
Need a Windows application that gets names and e-mail addresses from the user and displays a list of all of the user's contacts