visual basic msgbox syntax code example Example: visual basic script msgbox MsgBox "[Shown-Text]",[Buttons],"[Header of the window]"