Final School Project

Completed Posted Apr 29, 2012 Paid on delivery
Completed

Part I (40 points)

Some features listed below are Part III requirements. If you decide to move them to Part III, you will receive more points from Part III and fewer points from Part I.

1. Add all controls with appropriate names and properties, including access keys, accept button, cancel button, context menu, and shortcut keys where applicable (10 points).

2. In the Form_Load event handler, add a SaveFileDialog control so that the user can choose file name and location to save the file. The control should have Filter, InitialDirectory, and Title properties assigned (5 points).

3. Write event handler for “Save Record” button so that all data entered/selected will be saved to the file named in Step 2 above. Make sure Last name and employee number are not empty before saving. After a record is saved, a feedback message (either a messagebox or a label) should show up letting user know the record was saved successfully. If the user ends the program after entering a few records, the user should be allowed to add more records when the program resumes (in other words, do not delete the existing data when the program is reopened and new records added). Furthermore, the input fields should be cleared and the first textbox should regain the focus when a record is successfully saved or an exception throws. Finally, your program should be able to handle the exceptions (a messagebox should pop up with an error message) (20 points).

4. Write event handler for Clear and Exit buttons for what they supposed to do (5 points).

Part II (40 points)

1. Add all controls with appropriate names and properties as described in Task 1 of Part I (5 points).

2. In the Form_Load event handler, add a OpenFileDialog to allow the user to open the file saved in Part I. The control should have Filter, InitialDirectory, and Title properties assigned (5 points).

3. Write event handler for “Next Record” button to show one record at a time. When the end of the file has reached, a messagebox should pop up with a message letting user know the end of file has reached. Record number is a variable you declared in the form (not in the employee data file) and add 1 every time the “Next Record” button is clicked (15 points).

4. Write event handler for Clear and Exit buttons for what they supposed to do (5 points).

5. Exceptions should be caught (10 points)

Part III (50 points)

This Part is built on top of Part I. In fact, you can have all three parts in one file with all features included. We assume you have the first two items listed on Page 596 already included in Part I.

1. Search function: First, the user should have a chance to open an existing file to search. This can be built into form load event. Then, a textbox allows the user to enter an employee number and a button to search. If the record is found, the record should show up in the labels. Otherwise, a pop up shows the record does not exist. The users can search as many times as they wish (20 points)

2. Display all records in a listbox with blank line between records and appropriate headings. Users should open the file when the form load (5 points)

3. Print a record: This feature can be added to item 1 -- Search function described above with a button on that form. The output should be formatted. (20 points)

4. Make sure you set properties of controls (5 points).

Notes:

You should not be limited by this guideline. For example, you don’t need to open the file so many times. You can just open it once and allow users to enter new records, search for a record, and print the record.

Three approaches to this project, use any of the following three to complete your project:

1. Make the project like three dropbox assignments. The above guideline is using this approach. It is easy to understand and you are encouraged to do so.

2. Make the project like one dropbox assignment. The demo video is using this approach. You need to plan well before coding. Make sure you don’t miss any features.

3. Using database. I have attached the necessary database file. Download and unzip it. This is more challenging than the above two. Some methods are not covered in our textbook. Make sure both tables in the database are used. Specifically, the dropdown list for the department should be bound to the department table. Three students in the January semester worked using this approach. Avoid this if you just want the grade.

Visual Basic

Project ID: #1596116

About the project

2 proposals Remote project Active May 5, 2012

Awarded to:

abbasitech

Hi there, check private message for details. Thanks and Regards, ABBASITECH (IT SOLUTIONZ ISB)

$16 USD / hour
(2 Reviews)
1.3

2 freelancers are bidding on average $21/hour for this job

it2051229

Hi, kindly check your inbox for my inquiries. Thanks.

$25 USD / hour
(46 Reviews)
4.7