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

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

0 Answers  


How to customize workgroup message?

0 Answers  


Can we display only integers / numbers through the message box? Is there any constraint to do so?

8 Answers   Infosys,


what are the three main differences between flexgrid control and dbgrid(Data bound Grid) control

1 Answers  


___ is the control used to call a windows application.

0 Answers  






How can you Implement windows functionality in VB?

0 Answers  


What are two validate with Data Control?

1 Answers  


which property used to add a menus at runtime?

0 Answers  


It possible to call OLEDB's Features directly in VB without using any control?

0 Answers  


by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.

0 Answers   Infotech,


what are the Differences between ActiveX Exe and Dll?

2 Answers  


What is Tabstrip control? What is the starting Index value? How to locate it?

1 Answers  


Categories