Question: Using Visual Basic, Windows Forms App (.NET Framework) Sequential Access and Files Programming Assignment Instructions Overview Ephesians 4:11 So Christ himself gave the apostles, the

Using Visual Basic, Windows Forms App (.NET Framework)

Sequential Access and Files Programming Assignment Instructions

Overview

Ephesians 4:11

So Christ himself gave the apostles, the prophets, the evangelists, the pastors, and teachers, to equip his people for works of service, so that the body of Christ may be built up until we all reach unity in the faith and in the knowledge of the Son of God and become mature, attaining to the whole measure of the fullness of Christ.

It is important to not only worship together but to serve Christ together in unity. You have been asked to provide a program to your church which allow them to keep track of the members who belong to different groups. To do this they need to have the ability to display files, add members, and delete members. The information they have is stored in individual text files. The application should open the Youth_Members.txt file on the load. The menu item File contains the second-level menu item Exit, which exits the application. The menu item Sort contains the two second-level menu items Ascending and Descending. The menu item Edit contains the two second-level menu items Create File, Add Member, Delete Member.

Instructions

Form Setup

You must save your project using your initials in the name** This is required and the project will not be accepted otherwise.

Design your screen to look like the one below.

Update the backcolor to the color of your choice.

Use appropriate naming conventions for controls and variables.

Lock the controls on the form.

The count text box must be set to read only and the user should not be able to tab to the text box.

Include shortcuts and access keys for each menu item (such as Ctrl-X for Exit, Ctrl-A for Ascending, etc.)

Code

Create a comment section at the beginning of the code with the name of the assignment, purpose of the assignment, and your name. Comments must be throughout each sub of the application.

Remove any subs that are not utilized by the program

The text file, Youth_Members.txt is included in your Instructions folder and should be stored in your projects bin\debug folder.

****This step must be included for your assignment to be accepted. You must include three other rows in the file that include your name, your instructors name, and another name with the appropriate data

The application opens with the Youth_Members.txt file loaded in the listbox.

File Menu

When the file menu is pressed the Exit submenu is displayed

When the user clicks on the Exit menu, the application closes

Edit Menu

When the user clicks on the Edit menu, the following menus are presented: Create File, Add Member, Delete Member

When the user clicks on Create file, the user will be presented with an input box to enter a name of a file. An if statement is utilized to make sure a name is entered. If successful the program creates a blank file and displays the blank file in the textbox. The count is updated.

When the user clicks on the Add Member, the user will be presented with an input box to enter a new member name. Use an if statement to make sure the name is not null. If successful, the application appends the name to the current file that is loaded. The listbox is refreshed with the new file along with the count being updated.

When the user clicks on the Delete Member, the application will verify with an if statement if a name is selected in the listbox. If a name is not selected the user is presented with an error message and the program quits. If a name is selected, the name is removed from the file and the listbox is refreshed with the new file along with the count being updated.

Sort Menu

When the user clicks on the Sort menu, the Ascending and Descending menu are displayed.

When the user clicks the Ascending menu or Descending menu, the user sorts the array in ascending or descending order based on what the user selects. The user is not to sort using the listbox property sort.

Refresh Sub

This sub is called with every update including the add and delete of a person, and creation of file.

The sub will refresh the listbox

The sub will determine the count of the items in the listbox and refresh the count text box.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!