What is the difference between queryunload and unload in form?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method is preferred to save datas like database?

1655


What is hyperlink?

1821


How would you create your application in DHTML?

1705


Explain about ADO control?

767


What is the use of Data Form Wizard?

1753


How many types of API functions are available in VB?

2181


what are the Types of LockEdits in RDO?

1802


How can you save and Get data from Clipboard/ Recordset object consists what?

751


Parts of ODBC?

1650


How do I get the number of free bytes on a disk?

1410


How would you run your ActiveX Document Dll?

1803


what are the Types of cursors in RDO?

2064


Explain the usage of Web Browser Control?

1700


How would you map properties to controls by using ActiveX Control Interface Wizard?

1661


What is the default model of the form?

1840