Hello World
Learn how to output Hello World using Visual Basic 6 with this Tutorial that Celebrates the CESPage 25th Anniversary
Hello World is the universally recognised first stage of a Tutorial used in every programming language and in this case for Visual Basic 6 but can be done in any version of Visual Basic, this Tutorial is presenting using the original Images and Code.
Step 1
Step 2
Step 3
Step 4
Step 5
Caption
property
from Command1
to Click Here
Step 6
Double Click on the Command Button and type in the Command1_Click()
Sub:
MsgBox "Hello World",vbInformation,"Test"
See Below:
Step 7
Step 8
Step 9
That was your first working Visual Basic Application! Try changing the Text
or the Title
, which is the last part after the
vbInformation
remark, or have a go at changing the code and extending it, you can learn a lot from this simple application!