Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1449

I couldn't just help it :) :)

$
0
0
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.

Code:

Private Sub Command1_Click()
  MsgBox "Hello World :)", vbInformation
End Sub

Attached Images
    

Viewing all articles
Browse latest Browse all 1449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>