Question: SEQUENTIAL ACCESS AND FILES PROGRAMMING ASSIGNMENT INSTRUCTIONS OVERVIEW Ephesians 4 : 1 1 So Christ himself gave the apostles, the prophets, the evangelists, the pastors,
SEQUENTIAL ACCESS AND FILES PROGRAMMING ASSIGNMENT INSTRUCTIONS
OVERVIEW
Ephesians :
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 YouthMembers.txt file on the load. The menu item File
contains the secondlevel menu item Exit, which exits the application. The menu item Sort
contains the two secondlevel menu items Ascending and Descending. The menu item Edit
contains the two secondlevel menu items Create File, Add Member, Delete Member.
INSTRUCTIONS
Form Setup
a You must save your project using your initials in the name This is required, and
the project will not be accepted otherwise.
b Design your screen to look like the one below.
c Update the backcolor to the color of your choice.
d Use appropriate naming conventions for controls and variables.
e Lock the controls on the form.
f The count text box must be set to read only and the user should not be able to tab
to the text box.
g Include shortcuts and access keys for each menu item such as CtrlX for Exit,
CtrlA for Ascending, etc.
Code
a 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.
b Create a comment section after your name to include the following statement: I
will not use code that was never covered in class or in our textbook. If you do you
must be able to explain your code when asked by the professor. Using code
outside of the resources provided, it can be flagged and reported as an academic
integrity violation if there is any suspicion of copyingcheating This is
required for the assignment to be accepted.
c Remove any subs that are not utilized by the program
CSIS
Page of
d You will have one default file in the bindebug folder. This file will have
names including yours and the professor. You must name the file according to
the volunteers you are collecting names for. For example, if the volunteers are
for a mission trip you could call it Mission.txt
e At the end you will show you have created four other files using your create that
have other volunteer names.
f The application opens with an inputbox to allow the user to tell what document to
load in
File Menu
a When the file menu is pressed the Exit submenu is displayed
b When the user clicks on the Exit menu, the application closes
Edit Menu
a When the user clicks on the Edit menu, the following menus are presented: Create
File, Add Member, Delete Member
b 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.
c 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.
d 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 will return the user to the form. 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
a When the user clicks on the Sort menu, the Ascending and Descending menu are
displayed.
b 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.
Update Sub
a This sub is called with every update including the add and delete of a person, and
creation of file.
b The sub will refresh the listbox
CSIS
Page of
c 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
