Note: In case if your problem statement is updated, please donot hesitate us and send it to us at [email protected] We would surely like to help you in this regard.
Program 4
Summary: Create a GUI program that allows users to ingest two files that contain Mission Titles and Box Office Profit data in to two 1d arrays.
Required Program Data: Obtain the required information from “title.txt” and “boxoffice.txt.” I will use different file names to test the code, so do not hard code the file names.
Important concepts to know before you start:
1. The key to this program is to complete tasks in smaller steps. Don’t get ahead of yourself!
a. Read one file into a Listview.
b. Read a one file into an array, and then output the array into the Listview.
c. Add the second file and array into the file read process
d. Implement Sorting
e. Lastly, Add the Summary Functionality.
2. Review how to format strings, Page 153
3. A File Read example, Page 555.
4. Review MSDN for Open File Dialog info:
a. http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog.aspx
b. http://msdn.microsoft.com/en-us/library/system.windows.forms.filedialog.filenames.aspx
5. Array’s + Using List Boxes with Arrays and Sorting Arrays:
a. Sorting arrays, page 497
b. http://www.youtube.com/watch?v=eG_eUsqaPtk&feature=relmfu
c. http://msdn.microsoft.com/en-us/library/85y6y2d3
d. http://www.codepedia.com/1/VBNET_ArraySort
6. Other Examples:
a. http://www.youtube.com/watch?v=L-Zsf_xPqSE
b. http://www.youtube.com/watch?v=TTAdTrxUrpI
NOTE: If you have to hardcode a path/file name, please know that my configuration *will not* match your personal Windows login. If you must hardcode the path, please hardcode your program path relatively. Meaning, don’t spell the entire path and reference the working directory.
Requirements:
General:
1. Option Strict is coded in ‘Form1.vb.’
2. Rename ‘Form1.vb’ to FirstName_LastName_P4.vb (for example, ‘John_Smith__P4.vb’).
3. Code must compile without Errors/Warnings
4. Create a Help menu bar item that uses a msgbox to show valued info on program usage, rates and program requirements.
5. Program does not encounter runtime errors that results in a crash or console errors
6. A Msgbox is not used in any way for this program (except for Menu->Help)
7. Code is easy to read, ie general programming practice. UI items and variables are named meaningful. Not just, emp3, ckboxA, Label7, button1, txtbox2 etc.
8. Code is well commented and has technical comments.
Functionality/UI:
9. Clicking the Load button uses multiselect and uses one OpenFileDialog (OFD) to a load user specified path and two files.
10. The OFD starts at Desktop.
11. Figures displayed with a ‘$’ and comma’s.
12. Two 1d Arrays used exclusively (Adjusted Box Office Array and Mission Title Array).
13. Program will sort the Adjusted Box Office Array to (0-9) and (9-0). Not sorting the Listview
14. Program will sort the Mission Title Array to (A-Z) and (Z-A). Not sorting the Listview.
15. The Clear button will clear the arrays, UI and program as if newly launched.
16. Load button will clear existing array/display data and still load data.
17. On the Summary Area, when there are >= 3 entries, display a numbered list the top 1/3rd adjusted total box office mission titles listed from high to low.
18. On the Summary area, ensure that you round down a decimal point for the top 1/3. For example, if 7 entries are present, you will display 2. If 9 present, display 3.
* If you have any issues with the payment method, please let us know at [email protected] and that can be discussed and considered.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received through PayPal, download link of the solution will automatically be sent to the address used in Paypal.
* Please check your junk mails as the download link email might go there.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please expect to get a response within 8 hours from our side.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
******************************************** Good Luck ***************************************************
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Note: In case if your problem statement is updated, please donot hesitate us and send it to us at [email protected] We would surely like to help you in this regard.