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 |
_____ is the property to ___,____,____ are valid for recordsource property of dat control.
What are the different procedures associated with the object?
What is the difference between Object and Class?
what is a property to resize a label control according to your caption?
What is the difference between change event in normal combobox and dbcombobox?
What is the difference in passing values ByRef or ByVal to a procedure?
How do I get a bitmap picture in a field in an Access database?
What is instantiating?
Write the steps in Creating ActiveX Dll and Active Exe?
What is the difference between creating a object using New and CreateObject in Visual Basic?
Where will we give the option explicit keyword and for what?
which Property is used to count no. of items in a combobox?
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)