Walk Lightly on this PLANET and yet leave such a FOOTPRINT that cannot be erased for thousands of Years..!!!
Visit Codstech for Cyber Security related Posts !

Visitors

Monday, May 23, 2011

VB-3 : Message Program



When we click “ Display  “, a message box will appear “END” will stop the execution.

A)   Property :

Command Button 1  :  NAME -  Command1, CAPTION-Display
Command Button 2  :  NAME -  Command2, CAPTION-End


B)   Attaching Code to the Object :
Private Sub Command1_Click()
MsgBox "Hello"
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
End Sub




=========================================================================
Back to Home   &  VB

No comments: