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

How many ways you can access file using VB?

0 Answers  


what are the Controls which do not have events ?

1 Answers  


How would you add column headers in listview control?

0 Answers  


what is differece b/w Module and class Modules in vb6? thanks

4 Answers   Ask Techsys, TCS,


Difference between listbox and combo box.

12 Answers   HCL, Infosys,


Difference between Linked Object and Embedded Object?

0 Answers  


What is OLE? Explain.

3 Answers  


what is the difference between vb and vb.net

2 Answers  


Which property of textbox cannot be changed at runtime?

1 Answers  


What is the use of parameters collection?

0 Answers  


Scope of API's can be of types, what are they?

0 Answers  


what is the meaning of cts company logo?..

1 Answers   CTS,


Categories