Question: Visual Basic: Tony Gaddis 7th Edition Beginner student getting lost on what the form should look like at and the code. The book is no

Visual Basic: Tony Gaddis 7th Edition

Beginner student getting lost on what the form should look like at and the code. The book is no help. I would appreciate any help if you have time.

Soccer Team Score Application

Suppose a soccer team needs an application to record the number of points scored by its players during a game. Create an application that asks how many players the team has, and then asks for the names of each player. The program should declare an array of strings large enough to hold the number of points scored by each player. The application should have a menu system or buttons that perform the following:

1. Display a form that allows the user to enter the player's names.

2. Display a form that can be used during a game to record the points scored by each player.

3. Display the total points scored by each player and by the team

INPUT VALIDATION: dO NOT ACCEPT NEGATIVE NUMBERS AS POINTS.

Objectives

Create single arrays.

Dynamically resize arrays o Search arrays.

Utilize parallel arrays.

Situation

The Soccer Team Score Keeping program is an adaptation of the Question 11: Soccer Team Score Application program that is on page 571 of the textbook. You will use only menu options only. No buttons to be used. The names entered by the user should be displayed on the form in a list box or combo box in addition to storing it in the array. Include in the menu a menu option About which when clicked, displays an About Box that displays the Application name, a brief description of the application and the programmer name.

Specifications

1. Recurring Specifications that are required for all programs.

1. The form must be renamed and the text changed to PhoneLookup by YourFirstName YourLastName. (If Pat Programmer was creating this program, it would be Soccer Score Keeper by Pat Programmer)

2. Code must be grouped and commented in compliance with this course's programming standards.

3. ALL files, forms, and controls MUST be renamed.

4. Option Strict and Option Explicit must be ON

5. An AcceptButton and a CancelButton must be assigned appropriately.

6. ALL controls on the form must be in logical TabOrder.

7. All buttons and labels (before TextBoxes) must have AccessKeys.

8. Form's StartPosition property must be CenterScreen.

9. The text property of Labels must be changed so that Label1 (or similar name) does not appear at runtime.

10. No class level variables unless specifically allowed.

11. Data types for variables and constants must be the most efficient.

12. Use With. End With if and when appropriate.

13. ToolTips

2. Create 2 global arrays in the Main Module. They will be two single dimensional arrays to hold the names and scores. These arrays will be parallel. In other words the name array element with an index of 0 will hold the name and the score array element with an index of 0 will hold the score for the first player.

3. When retrieving the scores of a player, the SelectedIndex property of the Combo Box can be used to retrieve parallel array items. In this way the number of lines of code can be reduced. Example Since this was not specifically in the text here is an sample where strNames() is the name of the array: intScore= intPlayerScores(cboNames.SelectedIndex)

4. For the About menu option, include an About Box that was created using the AboutBox template. The fields on the form must be customized for this program to display the Application name (Soccer Team Score Keeping ), a brief description of the application and the programmer name.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!