Question: code doesnt work, got 2 errors of end of statement, and hello is not declared, how is it fixed? Public Class Form1 Private Sub btnShowMessage_Click(ByVal
code doesnt work, got 2 errors of end of statement, and hello is not declared, how is it fixed?
Public Class Form1 Private Sub btnShowMessage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowMessage.Click ' Store the Hello World message in ' the label's Text property. lblMessage.Text = Hello World End Sub Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click ' Close the form. Me.Close() End Sub End Class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
