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
____ property is used to lock a textbox to enter a datas.
How do you create a form in visual basic?
which property is used to change to some value to access a identity column in datacontrols?
Is visual basic easy?
Which language is used in visual basic?
What is executenonquery in vb net?
Explain about conditional operators?
Explain Default cursor Type and LockEdit type in DAO?
What is the use of parameters collection?
___ Property is used to count no. of items in a combobox.
what is use of book mark in excel ? send answer in my id ashishpal11@rediffmail.com
how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?
How would you create properties in ActiveX Control?
How can you check whether a record is valid record or Invalid record using ADO control or Object?
Is it possible to change menu runtime using API? If yes Specify the function names?