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 |
How do I implement an accelerator key for a text box?
What is ActiveX Explain?
Types of DBCombo boxes
What are the types of line styles available in Treeview Control?
What is a toolbox in visual basic?
How can you Add API functions to your Application?
Different types of Passing Value?
__ no of controls in form.
How can you filter out specific type of file using file system controls?
What does Addressof operator do?
How can I access a record by record number?
What is Static Variable?
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)