What is the difference between queryunload and unload in form?

Answers were Sorted based on User's Feedback



What is the difference between queryunload and unload in form?..

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

What is the difference between queryunload and unload in form?..

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

Post New Answer

More Visual Basic Interview Questions

What is OLE? Explain.

3 Answers  


What are the properties of datacontrol?

0 Answers  


What are the types of Instancing property that can be set for a Class in a ActiveX DLL and ActiveX EXE?

1 Answers  


Why doesn't "my string" & Chr$(13) do what I want?

0 Answers  


What is the difference between queryunload and unload in form?

2 Answers  






what are the Types of cursors in RDO?

0 Answers  


How do I make the mouse cursor invisible/visible?

0 Answers  


What does the Implements statement do?

1 Answers  


What is binding? What are types of binding?

3 Answers   Primus Global,


Through which protocol OLEDB components are interfaced?

0 Answers  


What is ADO?

1 Answers   Satyam,


What was introduced to Visual Basic to allow the use of Callback Functions?

1 Answers  


Categories