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

What are the scope of the class?

0 Answers  


Is it posible to Create Tables Through Querydef?

0 Answers  


How many types of API functions are available in VB?

0 Answers  


what are the types of combo box?

1 Answers   Satyam,


What is the use of Imagelist Controls ?

0 Answers  






What is meant by "Early Binding" and "Late Binding"? Which is better?

1 Answers   iGate,


What is the latest version of visual basic?

0 Answers  


Types of Modal windows in VB.

1 Answers  


How do I change the color of a form in visual basic?

0 Answers  


What is the difference among Standard EXE, Active-X DLL, Active-X EXE?

2 Answers  


What is Pseudocode?

0 Answers  


What are the rules which should be followed while naming a variable in VB?

0 Answers  


Categories