At the end of the activity, the students should be able to: Create a program that handles exception and allows writing to and reading from a text file.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter10: Classes And Objects
Section: Chapter Questions
Problem 2E: Open the Palace Solution.sln file contained in the VB2017\Chap10\Palace Solution folder. Use Windows...
icon
Related questions
Question
User Log-in
Objective:
At the end of the activity, the students should be able to:
• Create a program that handles exception and allows writing to and reading from a text file.
Software Requirements:
Latest version of NetBeans IDE
• Java Development Kit (JDK) 8
Procedure:
1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive.
2. Create a new project named TaskPerf6. Set the project location to your own folder.
3. Write a program that will:
a. Ask the user to select between two (2) options:
• Register: User shall input his desired username and password. These shall be saved
in a text file named records.txt. Only alphanumeric characters are allowed.
Login: User is asked to input a username and password. Validate using the text file
created from the Register option. If both the username and password are correct,
display the message "Successfully logged in", else, display “Incorrect username or
password".
Transcribed Image Text:User Log-in Objective: At the end of the activity, the students should be able to: • Create a program that handles exception and allows writing to and reading from a text file. Software Requirements: Latest version of NetBeans IDE • Java Development Kit (JDK) 8 Procedure: 1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new project named TaskPerf6. Set the project location to your own folder. 3. Write a program that will: a. Ask the user to select between two (2) options: • Register: User shall input his desired username and password. These shall be saved in a text file named records.txt. Only alphanumeric characters are allowed. Login: User is asked to input a username and password. Validate using the text file created from the Register option. If both the username and password are correct, display the message "Successfully logged in", else, display “Incorrect username or password".
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,