What is the difference between Msgbox Statement and MsgboxQ
function?
Answers were Sorted based on User's Feedback
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 |
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 |
What are the scope of the class?
Is it posible to Create Tables Through Querydef?
How many types of API functions are available in VB?
what are the types of combo box?
What is the use of Imagelist Controls ?
What is meant by "Early Binding" and "Late Binding"? Which is better?
What is the latest version of visual basic?
Types of Modal windows in VB.
How do I change the color of a form in visual basic?
What is the difference among Standard EXE, Active-X DLL, Active-X EXE?
What is Pseudocode?
What are the rules which should be followed while naming a variable in VB?