What is the difference between Msgbox Statement and MsgboxQ
function?

Answer Posted / pusparghya das

MsgBox statement only displays the message.

MsgBoxQ function displays a message in a dialog box and
wait for the user t click a button,and returns an integer
indicating which button the user has been clicked.
Example for MsgBox function

x= Msgbox ("Do you ant to delete." ,VBYesNO)

if you press yes. The x value is 6

if you press No. The x value is 7

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use GetPrivateProfileString to read from INI files?

1003


It possible to call OLEDB?s Features directly in VB without using any control?

1618


What is the difference between adodc and adodb in vb?

501


Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?

1161


How do I create a window with a small title bar as in a floating toolbar?

873






What is a thread pool and how are the threads within a thread pool managed?

1615


What are the types of Error? In which areas the Error occurs?

1644


What is the latest version of visual basic?

463


Is it possible to Access BackEnd procedures?

1601


What is the use of command Object?What are the various types of variables?

605


What is controls in vb?

545


what are the Parts of ODBC?

1425


Is visual basic easy?

548


Parts of ODBC?

1464


Data Control missing from toolbox when I use VB under NT3.5. Why?

936