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

Difference between Class Module and Standard Module?

0 Answers  


Write the Steps in Creating an ActiveX Control?

0 Answers  


Why visual basic is used?

0 Answers  


What is database vb?

0 Answers  


What does the NewIndex property return?

2 Answers  


what is the Difference between Linked Object and Embedded Object?

0 Answers  


____ is the difference between Listindex and Tab index.

0 Answers  


How do I prevent multiple instances of my program?

0 Answers  


What is hyperlink?

0 Answers  


How to use hyperlink?

0 Answers  


How many objects resides in ADO ?

0 Answers  


What is VB ShellScripting?

1 Answers   Wipro,


Categories