Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Anyone good with Visual Basic please help! INSTRUCTIONS:(We are using Do While and Do Until Loops for the project) When the project starts, it must

image text in transcribed

Anyone good with Visual Basic please help!

INSTRUCTIONS:(We are using Do While and Do Until Loops for the project)

When the project starts, it must display the Dive Competition Scoring form as shown.

During form load, in the form load event, in the following order:

a. The Scores list box must be populated using a loop.

b. The form must be displayed.

1. Hint: Use Me.Show() c. Input boxes must be used to gather the names of the five judges and must stop requesting input after the fifth judge has been entered.

A loop must be used for collecting the judges names.

1. Duplicate judge names are not allowed.

a. If a duplicate name is entered. A message box must be displayed.

b. The index of method must be used to identify a duplicate name

. During the judge input process, if the user does not enter a value in an input box or if the user clicks the Cancel button in the input box:

1. A message box must be displayed, with the "No" button selected, asking the user if they want to quit the program.

a. If the user responds yes, the program must end.

1. Make sure to include an Exit Sub command following the Close command to insure that the program closes.

b. If the user responds no, the program must continue to prompt for input.

Focus must always be on Clear button.

Hints:

1. Set the tab stop property to prevent use of the tab key

2. Use a got focus event on the results list boxes to set focus to the Clear button.

3. Use a click event and a double click event on the Judges list box to set focus to the Clear button.

4. Use a double click event on the Scores list box to set focus to the Clear button.

To enter a score, the user must first click on a judge's name and then click on the score.

a. When the user clicks on the score, the judge's name and score must be displayed in the results list boxes.

Hint: Use a click event on the Scores list box

b. The highlighting in the score entry list boxes must be cleared.

c. The focus must be set to the Clear button.

d. If the user clicks on a score but a judge's name is not selected, nothing must occur, and all highlighting must be cleared.

If the user enters a score for a judge that is already listed in the results, the score must replace the current score in the results.

a. The index of method must be used to locate the item to be updated.

19. Immediately after a score has been added to or changed in the results list boxes, the average score must be calculated and displayed based upon the number of scores in the Score list box.

a. A loop must be used to accumulate the scores in the results list box.

ARC Athletics-Loopsproject (Sample v1.0) Judge Name Input Dive Competition Scoring Enterjudge's first name or leave empty to exit OK Score Ent Results Cancel Scores: 10.0 9.5 9.0 8.5 8.0 7.5 7.0 6.5 6.0 5.5 5.0 4.5 4.0 3.5 Judges Sandy John Sam Judge Sam John Sasha Sandy 8.0 7.5 8.0 7.0 7.5 Duplicate Error Sasha Judge's name already exists. Score OK 7.60 Clear Empty Input 23 Do you want to exit the program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems X Special Issue On Database And Expert Systems Applications Lncs 8220

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2013th Edition

3642412203, 978-3642412202

More Books

Students also viewed these Databases questions