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

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

Weights on Other Planets Earth weight: Weight on: Exit

Step by Step Solution

3.35 Rating (173 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 2012 ProjectF184B08FC81C45F6A57F5ABD9991F28F Planets Project Planets ProjectPlanets Projectvbproj 0A094F4BEA7641288771F7BC1FE1BC... View full answer

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 Programming with Microsoft Visual Basic 2015 Questions!