Hello World
Place a text box on the form. It can be found in the control
box, 2nd icon down the right side, white box with "AB|" in it.
To do this click on it and then click and drag on the form.
Now Place a command button below it in the same way.
Now you should have a form the look something like the one opposite. If not
don't worry.
Now double click on the button to bring up the code window and type this
Text1.text = "Hello World!"
It should Look something Like this
Private sub Command1_Click()
Text1.Text = "Hello World!"
End Sub
Now press F5 to run it and click the button. You should see the words
"Hello World" appear in the box.
Here's my version of it
|