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 ODBC Direct and Microsoft Jet Database Engine ?

0 Answers  


What is the default workspace?

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   CGI, Infotech,


What is the difference between modal and module-less window?

1 Answers  


How would you add elements in TreevieW Control.

0 Answers  






How do I tell when an application executed using the SHELL command is finished?

0 Answers  


How many max. number of controls can place in one form (especially visual basic form)?

6 Answers   Satyam,


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

1 Answers   eFunds,


What is a thread pool and how are the threads within a thread pool managed?

0 Answers  


what is the Property used to count number of items in a combobox?

1 Answers  


How do we call MS- Excel in VB?

3 Answers  


What is the difference between Single and Double in VB?

4 Answers  


Categories