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 / r. antony greetan

Using the Query Unload we can determine how the application
is getting closed( By Coding, By MDI Window closing the
child, By Task Manager, By Pressing Close Button etc...).
(Here we can code that if the application is closed by mdi
then don't close it)

But in Unload we can only handle the closing only. We can
determine how it is getting closed...

Is This Answer Correct ?    1 Yes 0 No

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

Answer / supriya sinharoy

a) Unload is the last event to occur before a form set or
form is released.That means Unload occurs after the Destroy
event and after all the

contained objects have been released. In
addition, Unload occurs depending on the type of object.

b) Queryunload occurs before a form is unloaded.
That means the QueryUnload event occurs before the Destroy
event.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

___ is a property to resize a label control according to your caption.

0 Answers  


What do you mean by HTTP?

1 Answers  


How can I access a record by record number?

0 Answers  


Differentiate between DAO,ADO and Adodc as in data access objects?

0 Answers  


What is file in vb?

0 Answers  






what is the Need of zorder method?

2 Answers  


How would you navigate between one document to another document in Internet Explorer ?

0 Answers  


What is the latest version of visual basic?

0 Answers  


Draw Sequence Modal of RDO? Explain.

0 Answers  


what are the Parts of ODBC?

0 Answers  


what is the Difference between Recordset and Querydef?

0 Answers  


How can I change the printer Windows uses in code without using the print common dialog? How can I change orientation?

0 Answers  


Categories