What is the difference between Msgbox Statement and MsgboxQ
function?

Answers were Sorted based on User's Feedback



What is the difference between Msgbox Statement and MsgboxQ function?..

Answer / pankajbisane

MsgBox is a built in VB function which displays a Message
Box and MsgBoxQ is a function defined by the user.

Is This Answer Correct ?    9 Yes 1 No

What is the difference between Msgbox Statement and MsgboxQ function?..

Answer / 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

More Visual Basic Interview Questions

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?

0 Answers  


Explain about arrays?

0 Answers  


What is connection object in vb net?

0 Answers  


Name the four different cursor and locking types in ADO ?

1 Answers  


what are the Advantages of disconnected recordsets

1 Answers  


A standard exe contains a registered Active-X DLL. Now some error arise in the application but not in the standard exe , it is in the Active-X DLL. How do you find it out in which line no the error is?

1 Answers  


What is the default workspace?

0 Answers  


What is disconnected recordset?

2 Answers  


What are the types of validations available in Visual Basic?

2 Answers   Infosys, TCS,


How do I implement Undo?

0 Answers  


Difference between ActiveX Control and Standard Control.

0 Answers   HCL, Ocwen,


Types of cursors in DAO?

0 Answers  


Categories