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 type of databases you can access through ADO Data Access Object?

0 Answers  


What is the difference between early binding and late binding?

2 Answers   TCS,


What is FireHouse Cursors?

0 Answers  


Different types of Passing Value?

1 Answers  


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

0 Answers  






How can you check whether a record is valid record or Invalid record using ADO control or Object?

0 Answers  


How can you force new objects to be created on new threads?

0 Answers  


How many tabs in a tabbed dialog do you consider appropriate?

0 Answers  


How do I call a DLL?

0 Answers  


What is the use of Data Form Wizard?

0 Answers  


How many images can be placed in the image list ?

2 Answers  


in ADO connection string if password is leave blank and all others are given. what will happen

1 Answers   eFunds,


Categories