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

Read more...

File Extension

It is very important to understand file extension, most beginners having a truble for file extension, so here i am giving some extention of visual basic concern files. Each file type has 3 letter extension designated as under:

  • Visual basic project - .vbp
  • Form - .frm
  • Module - .mod
  • Class - .cls
  • Visual basic group - .vbg
  • Desiner file - .dsr
  • Basic file - .bsr
  • Executable file - .Exe ( Application)
  • User defined control - .ctl
  • Resource file - .res

Read more...