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

Is it possible to Access BackEnd procedures?

0 Answers  


What type of databases you can access through ADO Data Access Object?

0 Answers  


Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?

0 Answers  


I want to develop a stand alone application which can communicate with the existing applications in the system. On which this application should be based on: Standard Exe, Active-X Exe, Active-X Dll.

2 Answers  


What is the default workspace?

0 Answers  






What are the types of API Types.

0 Answers   TCS,


What are 3 main differences between flexgrid control and dbgrid control?

0 Answers  


Explain the working with task in Gantt chart view.

0 Answers  


What is the default property of datacontrol?

2 Answers   VSoft,


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

0 Answers  


What is the difference between Dim nCount as Integer vs Dim nCount% and when would you use each?

6 Answers  


How would you add elements and pictures to listitems in listview control?

0 Answers  


Categories