Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Programming Language Expert

Programming Assignment

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. The text files needed for this assignment should be placed in the bin\debug 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, instructor 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 MissionaryInWiating and MissionarInField 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 theIn Fieldlistboxwith the names of themissionaries listed in the MissionaryInField text file and populate the In Waitinglistbox 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 approriatelistbox.

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 StreamWriterin 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 WriteLinemethod to write the name of the new file to each text file.)

16. Use good programming practicesby clearing the listboxesbefore 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).

1467_Go_And_Tell_Mission.jpg

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M92268410

Have any Question?


Related Questions in Programming Language

Assignment task -q1 a the fibonacci numbers are the numbers

Assignment Task - Q1. (a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact that every number after the first two is the sum of the ...

Task - hand execution of arraysoverviewin this task you

Task - Hand Execution of Arrays Overview In this task you will demonstrate how arrays work by hand executing a number of small code snippets. Instructions Watch the Hand Execution with Arrays video, this shows how to ste ...

Assignment - haskell program for regular expression

Assignment - Haskell Program for Regular Expression Matching Your assignment is to modify the slowgrep.hs Haskell program presented in class and the online notes, according to the instructions below. You may carry out th ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

Background informationthis assignment tests your

Background Information This assignment tests your understanding of and ability to apply the programming concepts we have covered throughout the unit. The concepts covered in the second half of the unit build upon the fun ...

Question - create a microsoft word macro using vba visual

Question - Create a Microsoft Word macro using VBA (Visual Basic for Applications). Name the macro "highlight." The macro should highlight every third line of text in a document. (Imagine creating highlighting that will ...

Question 1 what is hadoop explaining hadoop 2 what is

Question: 1. What is Hadoop (Explaining Hadoop) ? 2. What is HDFS? 3. What is YARN (Yet Another Resource Negotiator)? The response must be typed, single spaced, must be in times new roman font (size 12) and must follow t ...

Task silly name testeroverviewcontrol flow allows us to

Task: Silly Name Tester Overview Control flow allows us to alter the order in which our programs execute. Building on our knowledge of variables, we can now use control flow to create programs that perform more than just ...

Php amp session managment assignment -this assignment looks

PHP & SESSION MANAGMENT ASSIGNMENT - This assignment looks at using PHP for creating cookies and session management. Class Exercise - Web Project: Member Registration/Login This exercise will cover adding data connectivi ...

Extend the adworks applicationi add dialogs to allow the

Extend the AdWorks application I. Add Dialogs to allow the user to Add, Edit, Read and Delete a Customer and refresh the view accordingly. 1. The user should be able to select a specific customer from the DataGrid and cl ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As