1. Creating Employee Data ( Page 625) Create an application that allows the user to enter the following employee data: First Name, Middle Name, Last Name, Employee Number, Department, Telephone Number, Telephone Extension, and E-mail Address. The valid values for department are Accounting, Administration, Marketing, MIS, and Sales. Once the data is entered, the user should be able to save it to a file. Figure 9-30 shows an example of the application's form. The form shown in Figure 9-30 has a combo box for selecting the department; a Save Record button, which writes the record to a file; a Clear button, which clears the text boxes; and an Exit button. Write code in the Form_Load event handler that allows the user to enter the name of the file. If the file does not exist, a new one will be created. If the file already exists, the input data will be appended to the file. Figure 9-30 Employee Data form for saving employee records Form1.vb [Design] X Employee Data Enter Employee Data First Name: Middle Name: Last Name:
1. Creating Employee Data ( Page 625) Create an application that allows the user to enter the following employee data: First Name, Middle Name, Last Name, Employee Number, Department, Telephone Number, Telephone Extension, and E-mail Address. The valid values for department are Accounting, Administration, Marketing, MIS, and Sales. Once the data is entered, the user should be able to save it to a file. Figure 9-30 shows an example of the application's form. The form shown in Figure 9-30 has a combo box for selecting the department; a Save Record button, which writes the record to a file; a Clear button, which clears the text boxes; and an Exit button. Write code in the Form_Load event handler that allows the user to enter the name of the file. If the file does not exist, a new one will be created. If the file already exists, the input data will be appended to the file. Figure 9-30 Employee Data form for saving employee records Form1.vb [Design] X Employee Data Enter Employee Data First Name: Middle Name: Last Name:
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
How would I create this is Visual Basic including the combo box for the valid values?
![1. Creating Employee Data ( Page 625)
Create an application that allows the user to enter the
following employee data: First Name, Middle Name,
Last Name, Employee Number, Department, Telephone
Number, Telephone Extension, and E-mail Address. The
valid values for department are Accounting,
Administration, Marketing, MIS, and Sales. Once the
data is entered, the user should be able to save it to a
file. Figure 9-30 shows an example of the application's
form. The form shown in Figure 9-30 has a combo box
for selecting the department; a Save Record button,
which writes the record to a file; a Clear button, which
clears the text boxes; and an Exit button. Write code in
the Form_Load event handler that allows the user to
enter the name of the file. If the file does not exist, a
new one will be created. If the file already exists, the
input data will be appended to the file.
Figure 9-30 Employee Data form for saving employee records
Form1.vb [Design] X
Employee Data
Enter Employee Data
First Name:
Middle Name:
Last Name:](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F75d5ad37-3535-4470-a0e9-412efe6a121b%2F7ee191af-6190-443f-a88c-586f2ac92de5%2F1tcaqk_processed.jpeg&w=3840&q=75)
Transcribed Image Text:1. Creating Employee Data ( Page 625)
Create an application that allows the user to enter the
following employee data: First Name, Middle Name,
Last Name, Employee Number, Department, Telephone
Number, Telephone Extension, and E-mail Address. The
valid values for department are Accounting,
Administration, Marketing, MIS, and Sales. Once the
data is entered, the user should be able to save it to a
file. Figure 9-30 shows an example of the application's
form. The form shown in Figure 9-30 has a combo box
for selecting the department; a Save Record button,
which writes the record to a file; a Clear button, which
clears the text boxes; and an Exit button. Write code in
the Form_Load event handler that allows the user to
enter the name of the file. If the file does not exist, a
new one will be created. If the file already exists, the
input data will be appended to the file.
Figure 9-30 Employee Data form for saving employee records
Form1.vb [Design] X
Employee Data
Enter Employee Data
First Name:
Middle Name:
Last Name:

Transcribed Image Text:Employee number.
Save Record
Department:
Telephone:
Extension:
E-mail Address:
empdata.txt X
1 Ada
2
A
Make sure to test your project by entering a new text
file name, and then to confirm you are appending data
to the file, run the program again and enter the same
text file name.
You can confirm that the records you entered are in the
file. See attached graphic. Assume that the text file
name the user created was empdata.txt
3 Adams
4
A1111
5
Accounting
6 9417775555
7 555
8
9
Clear
Creating Employee Data - Microsoft Visual Studio
File Edit View Project Build Debug Team Tools Test Analyze Window Help
▾ x86
2-
BL
22-6
2
Debug
▾ ▶Start II
AAdams@abc.net
Exit
▾ Solution Explorer
+
on - C
O
Search Solution Explorer (Ctrl+
D
References
bin
A
▷
▷
Debua
Release
obj
Form1.vb
Solution Explorer Team Explorer
:
empdata.txt
Employee Data Part 1.exe
Employee Data Part 1.pdb
Employee Data Part 1.vshost.exe
Employee Data Part 1.vshost.exe.manifest
Employee Data Part 1.xml
Show all files
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question
So their should be three forms used for this
Solution
Knowledge Booster
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.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education