Explore BrainMass
Share

Explore BrainMass

    Convert Distances from English to Metric Units in VB

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    After loosing $125 million dollars in the Mars orbiter crash, NASA hired you to develop an application that will allow them to convert distances from English to metric units.

    The form will contain a minimum of two text box control instances.
    One text box will be used to input the value to be converted, and the second text box will be used to display the results from the calculation.
    Text boxes, when used to display results, must be read-only.
    Write the code to perform the calculations required. Make the Calculate button the Accept button.
    Create a Clear button that will clear both text boxes.
    Create an Exit button.
    Use labels to identify each text box used in the form.
    Make sure the application accepts and calculates decimal values.

    © BrainMass Inc. brainmass.com October 9, 2019, 6:45 pm ad1c9bdddf
    https://brainmass.com/computer-science/visual-basic/convert-distances-from-english-to-metric-units-in-vb-97073

    Solution Summary

    The attached Visual Basic code converts Miles to Kilometers.

    $2.19