Visual Basic.NET Programming Practice - Output and Variables
1. Start Visual Studio and create a new Visual Basic Windows Forms App (.NET Framework)
called OutputAndVariables.
Place a button on the form and use the Properties window to change its name to btnGo.
Change your button’s Text property to Go.
Create an event handler for the button by double clicking it.
Write code to display the following message on the screen.
Run the form and test your program.
3. Place a second button on the form, rename it to btnGo2 and change its Text property to Go.
Create an event handler for the button by double clicking it.
Write code to display each of the words in the original message in separate message boxes.
Run the form and test your program.
4. Place a third button on the form, rename it to btnGo3 and change its Text property to Go.
Create an event handler for the button by double clicking it.
Copy and paste the code from your solution to number 3 above into this event handler (and
modify the code to output the same words separately in reverse order.
Run the form and test your program.
5. Place a fourth button on the form, rename it to btnVariableTests and change its Text
property to Using Variables.
Create an event handler for the button.
Write code to output the message “Working with Variables” in a message box.
Page 1 of 4