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 is the difference between <F8> and <Shift-F8> when debugging?

2 Answers  


what are the Types of LockEdits in RDO?

0 Answers  


HTML stands for What? Use of HTML ?

1 Answers  


what is a property to resize a label control according to your caption?

2 Answers  


What does Query_unload event do in VB? Why we need Form _unload event?

3 Answers  






___ Property is used to count no. of items in a combobox.

0 Answers  


What are some methods you can use to send data from one VB executable to another one?

0 Answers  


what is the difference between name property and caption property in visual basic?

10 Answers   HCL,


What is the use of Tabledef?

0 Answers  


Which property of textbox cannot be changed at runtime?

1 Answers  


What is difference between datagrid and flexgrid?

3 Answers   InfoWorld, TCS,


How to find size of the file. Which method or function is used to occomplish this?

1 Answers  


Categories