What is the difference between queryunload and unload in form?
Answers were Sorted based on User's Feedback
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 |
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 |
Difference between Class Module and Standard Module?
Write the Steps in Creating an ActiveX Control?
Why visual basic is used?
What is database vb?
What does the NewIndex property return?
what is the Difference between Linked Object and Embedded Object?
____ is the difference between Listindex and Tab index.
How do I prevent multiple instances of my program?
What is hyperlink?
How to use hyperlink?
How many objects resides in ADO ?
What is VB ShellScripting?