Hands-On Tutorial: User Input/Output: How-To: Use Visual Basic Inputbox and Messagebox Functions
Hands-On Tutorial: User Input/Output: How-To: Use Visual Basic Inputbox and Messagebox Functions
2. Add a new Button control to the default form. Set the Text property of the
button to “Temperature Conversion” and name it, cmdConvert. Use the
GroupBox control with no text value around the Button control.
11
Adding Code Using the Code Window
3. Double-click the Button control to open the Code Window with the
cmdConvert _Click subroutine.
12
Saving and Running the Application
5. Save and run the application to view the output shown below.
13