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 Types of Modal windows in VB?

1 Answers  


What are the new events in textbox that has been included in VB6.0

1 Answers  


Write the Steps in Creating an ActiveX Control?

0 Answers  


How do I use GetPrivateProfileString to read from INI files?

0 Answers  


Explain about Caturing Baseline.

0 Answers  






what is Type Library and what it's purpose?

1 Answers  


what are the Control Categories?

1 Answers  


What is the difference between message box

11 Answers  


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

0 Answers  


How do I create controls dynamically (at run-time)?

0 Answers  


Data Control missing from toolbox when I use VB under NT3.5. Why?

0 Answers  


What does the Implements statement do?

1 Answers  


Categories