Visual Basic 6 - Simple Program "Hello World!"

A simple visual basic 6 project "Hello World!". it uses to command buttons, one for popup message and the other button for closing the applications.


Here' the code below

Private Sub Command1_Click()
      MsgBox "Hello World!", vbInformation, "My First Application in VB 6"
End Sub



Private Sub Command2_Click() 'This will terminate the program.
    Unload Me 'End
End Sub
'Unload - Close current window
'End - Terminate Application




0 comments:

Post a Comment