Tuesday, December 11, 2007

How to work with VbCritical

How to work with VbCritical

To work with VbCritical

Step 1:

Add the CommandButton in the Form:

Step 2:

Type in VB programming codes to the Command button. In this example, a critical box will be displayed after clicking on the Command button.

Private Sub Command1_Click()

MsgBox "Please Click Me!!!", vbCritical

End Sub

Step 3:

The critical box is displayed after clicking on the Command button:

No comments: