1. Start a new project.
2. Add a command button to the main form from the toolbox to the left.
3. Double-click on the command button in design mode and add this code:
4. Click on the "run" toolbar button with the filled-right arrow.
2. Add a command button to the main form from the toolbox to the left.
3. Double-click on the command button in design mode and add this code:
4. Click on the "run" toolbar button with the filled-right arrow.
Code:
Private Sub Command1_Click()
MsgBox "Hello World :)", vbInformation
End Sub