How to check the condition in Msgbox?

Answers were Sorted based on User's Feedback



How to check the condition in Msgbox?..

Answer / guest

For Ex:
If(Msgbox("Do you want to delete this Record",VbYesNo)
=VbYes)Then End if

Is This Answer Correct ?    6 Yes 0 No

How to check the condition in Msgbox?..

Answer / karan munjal

for example
if msgbox("Are You Sure",vbyesno)=vbyes then
con..
else
con..
endif

Is This Answer Correct ?    3 Yes 0 No

How to check the condition in Msgbox?..

Answer / kamlesh gupta

if msgbox("Are You Sure",vbyesno)=vbyes then
Condition statement
else
Condition statement
endif

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

What will happen if you issue a Resume statement after handling an error?

3 Answers  


which collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol?

1 Answers  


Types of Resultsets.

0 Answers  


How would you create properties by using class Builder Wizard?

0 Answers  


How many system controls are available ?

3 Answers   HCL,






How do we call MS- Excel in VB?

3 Answers  


What is the difference between creating a object using New and CreateObject in Visual Basic?

1 Answers  


What do you mean by ADO?

5 Answers   King Indus Software Solutions, TCS,


What was introduced to Visual Basic to allow the use of Callback Functions?

1 Answers  


Difference Types of Instancing Property in ActiveX Dll and Exe.

1 Answers  


What is the difference between Property Get, Set and Let.

1 Answers  


To validate a range of values for a property whenever the property values changes,which type of property procedure you use?

0 Answers  


Categories