Program using ten radio buttons to show five states

Assignment Help Programming Languages
Reference no: EM1349294

Q1) It is a program using 10 Radio Buttons to display 5 States and 5 Capitals to the user's interface. Also, there is a text box to print "Correct" and "Incorrect" when the Sate and the Capital is a correct match. Below the text box I have two 'Verify Answer_Click' and 'Exit_Click' Buttons. I've been reprogramming this project more than 20 times since 1st January. My program is either print "Correct" or "Incorrect" the whole time.

More details about this project

In this exercise, you code an application that allows the user to select the name of a state and the name of a city. After making both selections, the user can click the Verify Answer button to verify that the selected city is the capital of the selected state. Open the Capitals Solution(Capital Solution.sln) file contained in the VB2010Chap05Capital Solution folder. If necessary, open the designer window.

a. Designate the first radio button in each group as the default radio button for the group.

b. Enter the code to invoke the Click event for the two default radio buttons when the form first appears on the screen.

c. Declare two class-level String variables named strCapital and strChoice.

d. The Click event procedure for each State radio button should assign the appropriate capital to the strCapital variable and then remove the contents of the lblMSG control. Code each State radio button's Click event procedure.

e. The Click event procedure for each Capital radio button should assign the selected capital to the strChoice variable and then remove the contents of the lblMsg control. Code each Capital radio button's Click event procedure.

f. The Verify Answer button's Click event procedure should compare the correct capital with the capital chosen by the user. If the user selected the correct capital, the procedure should display the word "Correct" in the lblMSG control; otherwise, it should display the word "Incorrect" in the lblMSG control. Code the button's Click event procedure.

Reference no: EM1349294

Questions Cloud

Compute the company''s productivity before the change in work : Compute the company's productivity before the change in work rules and after the change and What is the percentage increase in productivity?
Find the amount of the loan : An automobile company, Nissan, as temporary cash surplus and lends its funds overnight through a repurchase agreement to a government securities dealer, earning $55,600 in interest income when RP loan rate stood at 5.70%.
What torque must the motor supply to take the disk : The magnetic field has been measured to be horizontal everywhere along a rectangular path x = 22 cm long and y = 5 cm high. Along the bottom the average magnetic field B1 = 1.3 10-4 tesla, along the sides an average magnetic field B2 = 1.0 10-4 te..
Explain how much saving does he or she do in first period : Illustrate what is the individual's optimal consumption in each period. Explain how much saving does he or she do in the first period.
Program using ten radio buttons to show five states : It is program using 10 Radio Buttons to show 5 States and 5 Capitals to user's interface. Also, there is text box to print "Correct" and "Incorrect" when Sate and the Capital is a correct match.
Impact an individual ability to recognize objectives : There are many factors that impact an individual's ability to recognize objectives. These factors include orientation. There have been some studies that have demonstrated that orientation has relatively little effect on object recognition.
Explain behavioral phenomena : On May 20, 2004, The Wall Street Journal ran a front page story entitled "Biotech's Dismal Bottom Line: More Than $40 Billion in Losses. " The article makes many points.
Define the number of product options available in the us : Define the number of product options available in the US consumer market. In virtually every product category
What is likely to happen as he uses the brake : Reading glasses of what power are needed for a person whose near point is 110cm, so that he can read a computer screen at 52cm? suppose a lens-eye distance of 2cm.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write pseudocode to accept candy name

Write a pseudocode for the following: A programm to accept a candy name (for exmple, "chocolate-covered blueberries'), price per pound, and number of pounds sold.

  Executive committee for alleviating it complexity

You are a consultant brought in by the executive committee to make recommendations for alleviating the "IT complexity" concerns of the executives at the company.

  Application development and programming languages

Application Development and Programming Languages,  Programming languages have evolved since the First Generation Languages (1GLs) in the 1940s. The 1GLs were machine languages, which interacted directly with hardware. 2GLs were assembly languages. F..

  Technical project: sample website project

Technical Project: Sample Website Project , This assignment consists of three (3) sections: a narrative, a storyboard, and a business Website. You must submit all three (3) sections for the completion of this assignment.

  Program to generate a random number between a range

Write down a program to generate random number between 1 and 100 and asks user to guess what number is.

  Explaining steps to execute branch instruction

Sketch a flow chart which carefully explains steps that little man follows to execute a branch instruction.

  Explaining object hierarchy in object-oriented programming

Study the concept of inheritance and the object hierarchy in object-oriented programming, and write a paper comparing these concepts with the concept of inheritence.

  Designing class to denote person-s height

Design a class, PersonHeight, to denote the person's height. Our class will include the following members.

  Write a perl program

Write perl program which will run on my system and will start another perl program on another linux system. The main program should wait for linux perl program to complete its work and send the result to my main perl program.

  Designing system to handle donations of non-profit agency

You have been hired by worldwide non-profit agency to create a system to handle their donations.

  Evaluate the fibonacci series

Write a program to evaluate the first 20 numbers of Fibonacci series.

  Writing script for fahrenheit in celsius temperature

Use functions to write script which enables user to enter either Fahrenheit temperature and display Celsius equivalent or enter Celsius temperature.

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