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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you use ActiveX Dll and ActiveX Exe in your application?

2050


How can you Implement windows functionality in VB?

2043


How would you attach pictures in Treeview Control?

1922


Write the steps in Creating ActiveX Dll and Active Exe?

2088


Draw Sequence Modal of RDO? Explain.

1997


What are the types of line styles available in Treeview Control?

1835


What is the use of Hyperlink control for DHTML applications?

2411


Explain about ADO control?

955


What is the use of debug Window?

1998


Binary Access-method isused to access file in which manner?

1890


Is it possible to Access BackEnd procedures? Explain.

1930


____ property of menu cannot be set at run time.

1658


What is data binding in vb net?

919


Whether HTML supports multimedia: and document links?

1931


Explain about form creation in Visual Basic?

1211