ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 9 Weeks Ago, 6 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 12 May 2017 My Price 9.00

Design your form as depicted in the diagram

Programming Assignment #5

 

 

 

Maintain Missions

 

In this assignment, you are to design an application, which will manage a listing of missionaries on staff at the Organization Go and Tell.  The company has several specifications for this application.   This application must be able to display two of the organizations files that contain the missionaries in the field and the missionaries waiting for assignment.  The application must be able to sort the display.  When a new missionary is added to the organization the application must have the ability to accept this addition.  When a missionary retires from the organization, the application must remove the missionary from the appropriate file.  The organization would like the application to display the number of missionaries in the field and in waiting while the program is running.  Please see below for more specifications on the application.

 

 

 

Helpful hints:

 

1. Design your form as depicted in the diagram below.
2.T he text files needed for this assignment should be placed in the bindebug folder of the project. Note that you will not have a starting text file for either. Your program should create it when it doesn’t exist the first time it runs.
3.***You must include your name (Brandi L. Claxton), instructor name (Miranda Dyer) as one of the default missionary names. Please use the example below to see how it should be displayed. This is a requirement or your application will not be accepted. There must be at least 10 names included for the missionaries when creating the files from the application.
4. Add the Company name at the top of the application
5. Before displaying the contents of the MissionaryInWaiting and MissionaryInField files in the initial load, make sure the files exist first. You will need to use the IO.File.Exists method in your checks.
6. Your program will then populate the In Field listbox with the names of the missionaries listed in the MissionaryInField text file and populate the In Waiting listbox with the missionaries listed in the MissionaryInWaiting text file.
7. When a missionary is being sent to the field, the program should move it from the “MissionaryInWaiting.” textfile into the “MissionaryInField” textfile. 
8. When a missionary is done with his/her mission work the application must be able to remove the name from the “MissionaryInField” textfile into the “MissionaryInWaiting” textfile. 
9. The contents of the two text files should be displayed in listboxes when the application starts. After each “update”, the listboxes should be cleared and refreshed with the changes shown from the file. 
10 .Your application should also have a button to add more missionaries to the “MissionariesInWaiting “ text file. Your application will accept an item through user input and add it to the MissionariesInWaiting file and refresh the appropriate listbox. 
11. Your application should also have a button to delete the missionary completely from the file the name is stored in. The application must check a name is selected before deleting. 
12. The application will use the listbox count feature to display the number of missionaries for each file. This must be refreshed each time the file is updated.
13. The sort Button will sort both list boxes in ascending order. A quit button should be included to exit the application.
14. Do NOT use arrays to populate the listboxes, but instead, use LINQ queries that read directly from the text files.
15. Use the StreamWriter in conjunction with IO.File.AppendText to and IO.File.CreateText to append new directories and create new text files. (Note: You will need to use the WriteLine method to write the name of the new file to each text file.)
16. Use good programming practices by clearing the listboxes before refreshing them when a change is made that affects their contents.
17. Remember to close the files after accessing them.
18.To remove a listing from a directory, you want to select only those records in the file that are not the one the user wants to remove. 
19. Include appropriate error checking (i.e. check to make sure something has been selected in one of the listboxes before trying to move it to the other listbox.). 
20. Use appropriate naming conventions for all controls and variables. Make sure the form has a title. Include appropriate internal documentation (i.e. comments in your code).

 

Programming Assignment #5Maintain MissionsIn this assignment, you are to design an application, which will manage a listing of missionarieson staff at the Organization Go and Tell.The company has several specifications for thisapplication.This application must be able to display two of the organizations files that containthe missionaries in the field and the missionaries waiting for assignment.The application mustbe able to sort the display.When a new missionary is added to the organization the applicationmust have the ability to accept this addition.When a missionary retires from the organization,the application must remove the missionary from the appropriate file.The organization wouldlike the application to display the number of missionaries in the field and in waiting while theprogram is running.Please see below for more specifications on the application.Helpful hints:1.Design your form as depicted in the diagram below.2.The text files needed for this assignment should be placed in thebin\debugfolder of theproject.Note that you will not have a starting text file for either.Your program shouldcreate it when it doesn’t exist the first time it runs.3.***You must include your name (Brandi L. Claxton), instructor name (Miranda Dyer)as one of the default missionary names.Please use the example below to see how itshould be displayed.This is a requirement or your application will not be accepted.There must be at least 10 names included for the missionaries when creating the filesfrom the application.4.Add the Company name at the top of the application5.Before displaying the contents of the MissionaryInWaiting and MissionaryInField files inthe initial load, make sure the files exist first.You will need to use the IO.File.Existsmethod in your checks.6.Your program will then populate the In Field listbox with the names of the missionarieslisted in the MissionaryInField text file and populate the In Waiting listbox with themissionaries listed in the MissionaryInWaiting text file.7.When a missionary is being sent to the field, the program should move it from the“MissionaryInWaiting.” textfile into the “MissionaryInField” textfile.8.When a missionary is done with his/her mission work the application must be able toremove the name from the “MissionaryInField” textfile into the “MissionaryInWaiting”textfile.9.The contents of the two text files should be displayed in listboxes when the applicationstarts. After each “update”, the listboxes should be cleared and refreshed with the changesshown from the file.10. Your application should also have a button to add more missionaries to the“MissionariesInWaiting “ text file.Your application will accept an item through userinput and add it to the MissionariesInWaiting file and refresh the appropriate listbox.

Answers

(11)
Status NEW Posted 12 May 2017 08:05 AM My Price 9.00

-----------

Attachments

file 1494577923-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)