Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What does Query_unload event do in VB? Why we need Form
_unload event?

Answers were Sorted based on User's Feedback



What does Query_unload event do in VB? Why we need Form _unload event?..

Answer / amirthraj

Query_Unload event is fired, when the form is actually
preparing for unload. Whereas Form_Unload is triggered when
form is unloaded. It's possible to stop the form unload
from Query_Unload event by setting its Cancel argument to
True.

Is This Answer Correct ?    5 Yes 0 No

What does Query_unload event do in VB? Why we need Form _unload event?..

Answer / parmanand

Query unload means your form is about to close but still not
closed.

Form _unload means your form is released from the memory and
its totally closed. Hence if you want to display any message
you will keep it in Query unload , form unload will not work.

Ex.

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode
As Integer)
MsgBox "do you want to close the form ?", vbYesNo
if vbno then
Cancel = True
end if
End Sub

Is This Answer Correct ?    2 Yes 0 No

What does Query_unload event do in VB? Why we need Form _unload event?..

Answer / sr_arvind

to close the form .

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Visual Basic Interview Questions

To populate a single column value which dbcontrols you to use?

0 Answers  


What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.

0 Answers  


What are the Technologies for Accessing Database from Visual Basic?

1 Answers  


what is the control used to call a windows application.

0 Answers  


How would you navigate between one document to another document

0 Answers  


What are the differences between a standard module and a class module?

4 Answers  


Which controls can not be placed in MDI?

3 Answers  


How many max. number of controls can place in one form (especially visual basic form)?

6 Answers   Satyam,


What are the scope of the class?

0 Answers  


What are 3 main differences between flexgrid control and dbgrid control?

0 Answers  


Dim x, y as integer. What is x and y data type?

8 Answers  


which arguments will be used to run a executable program in shell function ?

1 Answers  


Categories