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 is the difference Between ADO and other data access objects?
Why doesn't "my string" & Chr$(13) do what I want?
How to change the Mouse Pointer?
What is instantiating?
What is ODBC Direct and Microsoft Jet Database Engine ?
How many ways we can access file using VB?
Explain about the creation of EXE files with Visual Basic?
Draw Sequence Modal of RDO and Explain?
What is the error message that you would get if you try to assign "Null" to an integer variable?
how to get printout between two dates informations in datareport in vb6.0
What is "NULL"?
What is the difference between a property a method and an event? Give an example of each.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)