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 |
How does the following statements work? On Error Goto Err_Handler
what are the Default cursor Type and LockEdit type in DAO?
What are the different compatibility types when we create a COM component?
Is it possible to Access BackEnd procedures? Explain.
What are the uses of List View Control?
To.set the command button for ESC ___ Property has to be changed.
What do you mean by ADO?
What does Query_unload event do in VB? Why we need Form _unload event?
Can we display only integers / numbers through the message box? Is there any constraint to do so?
What are the types of line styles available in Treeview Control?
_____ is the property to ___,____,____ are valid for recordsource property of dat control.
What is script control?
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)