What is the difference between queryunload and unload in form?

Answers were Sorted based on User's Feedback



What is the difference between queryunload and unload in form?..

Answer / vairamuthu

Query_Unload will execute first when unload the form. We
can stop the execution of the form_Unload method when we
set cancel = 1 in queryunload method.

Is This Answer Correct ?    3 Yes 0 No

What is the difference between queryunload and unload in form?..

Answer / rajnish tyagi

Both events allow the unload to be cancel, however only the QueryUnload event actually provides the cause for the unload - check the UnloadMode parameter for values such as vbFormCode and vbFormControlMenu. More details can be found by looking up the events in your MSDN library.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

what are the Differences between Class Module and Standard Module?

1 Answers  


Whether HTML supports multimedia: and document links?

0 Answers  


How about Access 2.0 compatibility?

0 Answers  


Explain about conditional operators?

0 Answers  


____ property of menu cannot be set at run time.

0 Answers  






How can you Navigate from the DHTML application to another DHTML application? .

0 Answers  


How do I do drag & drop between applications?

0 Answers  


Record set object consists of what?

5 Answers   Microsoft,


What is disconnected recordset?

2 Answers  


How do I set the Windows wallpaper at runtime?

0 Answers  


How do I get a bitmap picture in a field in an Access database?

0 Answers  


Where can I get updated VB and other Microsoft files?

0 Answers  


Categories