In this exercise, you modify the application from Exercise 4. Use Windows to make a copy of

Question:

In this exercise, you modify the application from Exercise 4. Use Windows to make a copy of the Planets Solution folder. Rename the copy Planets Solution-Sub. Open the Planets Solution (Planets Solution.sln) file contained in the Planets Solution-Sub folder. Modify the code to use an independent Sub procedure to calculate the weight on another planet. Test the application appropriately.


Data From Exercise 4:

Create an application, using the following names for the solution and project, respectively: Planets Solution and Planets Project. Save the application in the VB2015\ Chap07 folder. Create the interface shown in Figure 7-38. The combo box should have the DropDownList style and contain the following planet names: Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, and Pluto. When the user clicks a planet name, the application should convert the earth weight to the weight on that planet and then display the converted weight in the label control. Use the Internet to research the formula for making the conversions. Test the application appropriately.

Weights on Other Planets Earth weight: Weight on: Exit

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: