Design your form as depicted in the given diagram

Assignment Help Visual Basic Programming
Reference no: EM131225454

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).

1338_Screen_Shoot.jpg

Reference no: EM131225454

Questions Cloud

Explain the social context of the social issue : Identify House bill (HR) or Senate bill (S) number of the legislation. Briefly summarize the social problem or issue. Explain the importance of the legislation as it relates to your issue.
Oberon before-tax component cost of debt : Oberon, Inc., has a $20 million (face value) 8-year bond issue selling for 99 percent of par that pays an annual coupon of 8.05 percent.
Oberon before-tax component cost of debt : Oberon, Inc., has a $20 million (face value) 8-year bond issue selling for 99 percent of par that pays an annual coupon of 8.05 percent. What would be Oberon's before-tax component cost of debt?
Derive the expression for the transconductance function : Consider the transconductance amplifier shown in given Figure.- Derive the expression for the transconductance function Ag f = Io/Vi.
Design your form as depicted in the given diagram : Design your form as depicted in the diagram below. The text files needed for this assignment should be placed in the bin\debug folder of the project.
Sales tax exemption assuming that pharmacy : A not-for profit nursing home has total expenses of $20 million. Sales tax in the state is 7%. Expenses are broken down into salaries ($12 million), supplies ($6 million), and pharmacy ($2 million). The benefit received by the nursing home from th..
Analyze this form of media by utilizing the material : Analyze this form of media by utilizing the material in your textbook and the course modules for support (use quotes!), make explicit connections between your chosen form of media and women's studies. Be sure to cite your sources.
Identify one expert featured on any major news program : Identify one "expert" featured on any major news program (ABC, NBC, CBS, CNN, FOX, MSNBC) and assess the credibility of that person to make claims about the topic. Use the concepts of the "criteria for credibility".
What is the future value : What is the future value of $100 a month for 41 years, beginning today at 8 percent interest? Assume monthly compounding. What is the future value of $100 a month for 48 years at 8 percent interest? Assume monthly compounding. What is the future valu..

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Why is exception handling important to software development

Exception handling, some thought should be given to this topic, rather than finding and pasting articles from the Internet into a discussion board. Please respond to all of the following prompts: 1. Why is exception handling important to software dev..

  Write a program that asks for the amount of the bill

Write a program that asks for the amount of the bill and percentage tip and calculates the tip. The program should use variables for each of the quantities and display the outcome in a text box with a label. Test the program on a bill of $20 and a..

  What are the rules for charging the various rates

pen the figurethisout solution. Open the code editor window and study the btnDisplay_click procedure. What task does the procedure preform? What are the rules for charging the various rates?

  Accept data regarding the purchase of fruit

Continually accept data regarding the purchase of fruit until a sentinel value is entered. Prompt the user for each item, and accept the name of the fruit (e.g., "dried apples"), the price per pound, and the number of pounds sold in a month

  Describes the characteristics of the designed system

Describes the characteristics of the designed system - describes the characteristics of the designed system and well as how it will be important for the users at the company.

  Calculate the monthly interest

calculate the monthly interest and display the amounts of interest earned and the new balances for each of the savers. Then set the annualInterestRate

  Create an application in which a user can enter a phone book

Create an application in which a user can enter a phone book entry, including the following elements: First Name, Last Name, Phone Number, email address

  Write the program vb text as a model

the VB text as a model and write the program so that each group is invisible and becomes visible only when its corresponding check box is checked. After the button is clicked, the amount of the bill should be calculated. NOTE: FIGURE 4.62 IS A DIF..

  Include structured error handling on all forms.

Create a patron letter-writing feature that includes a functional RichTextBox control.

  Exchange rate system within a mobile application

Exchange rate system within a mobile application, i need the application to be created in eclipse software programme and i need this to be a professional exchange rate system

  Repetition structures in visual basic

Repetition Structures in Visual Basic

  Arrays write a program using dynamic arrays to record the

write a program using dynamic arrays to record the high temperatures of last ltbrgtseven days and to display all of

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd