Massage box

>> Nov 30, 2010



You can see picture in right side, how to disply massage box in project, here you can see below simple code you have to enter in source code windows as under:




Private Sub Command1_Click()

MsgBox "Hey! you can see massage box", vbInformation,"Massage"

End Sub




Now, run the project and click on command button you can see the massage on screen



Type of massage


  • VbAbortRetryIgnore
  • VBapplicationmodule
  • VbCritical
  • VBdefaultbutton
  • VbExclamation
  • vbInformation
  • vbMsgBoxHelpButton
  • vbMsgBoxRight
  • vbMsgBoxRtlReading
  • vbMsgBoxSetForeground
  • vbOKCancel
  • vbOKOnly
  • vbQuestion
  • vbRetryCancel
  • vbSystemModal
  • vbYesNo
  • vbYesNoCancel

To better understand download sample source code CLICK HERE

0 comments: