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 |
What is form in visual basic?
Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset I am not sure of the options given. So please let me know the answer if it is something else.
What are the types of Error? In which areas the Error occurs?
How to find size of the file. Which method or function is used to occomplish this?
To validate a range of values for a property whenever the property values changes,which type of property procedure you use?
How would you view html code in Active Server Pages?
What are the differences between a standard module and a class module?
What is the maximum no. of forms can include in one project (vb project)?
Is visual basic case sensitive?
Give brief description about class?
What is the difference between procedure and functions in VB?
What is the difference between Object and Class?