What is the difference between queryunload and unload in form?
Answers were Sorted based on User's Feedback
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 |
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 |
What are the new events in textbox that has been included in VB6.0
What is the difference between a Sub and a Function?
What is the difference between ANSI and UNICODE strings when passed as arguments to a DLL?
Is there a way to break long lines in VB code?
What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.
what is the Property used to count number of items in a combobox?
What is the statement to extract 4 characters from the middle of a string?
What is Static Cursor?
Explain about control properties?
Discuss the working with to-do lists.
How do I implement Undo?
What is the difference between Object and Class?