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

Explain about literals?

651


Draw Sequence Modal of DAO? Explain.

1793


Is visual basic c#?

581


____ is the difference between Listindex and Tab index.

1408


How can I change the printer Windows uses in code without using the print common dialog? How can I change orientation?

1137






How would you Create a Query Builder and Explain its uses

1558


Timer control contains ________ no. of events.

1862


DHTML Is used for what?

1547


What is instantiating?

1515


How do I add a form in visual basic?

612


Explain about trees structures work.

710


Is visual basic easy?

622


How do you change the system menu (on the Control-Menu Box)?

1057


How can you filter out specific type of file using file system controls?

1452


Explain the differences between ActiveX Dll and ActiveX Exe?

1609