ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Visual Basic
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What does Query_unload event do in VB? Why we need Form
_unload event?
 Question Submitted By :: Honeysukumar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What does Query_unload event do in VB? Why we need Form _unload event?
Answer
# 1
to close the form .
 
Is This Answer Correct ?    2 Yes 1 No
Sr_arvind
 
  Re: What does Query_unload event do in VB? Why we need Form _unload event?
Answer
# 2
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 ?    2 Yes 0 No
Amirthraj
 
 
 
  Re: What does Query_unload event do in VB? Why we need Form _unload event?
Answer
# 3
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 ?    0 Yes 0 No
Parmanand
 

 
 
 
Other Visual Basic Interview Questions
 
  Question Asked @ Answers
 
What areTypes of compatability in VB and their usage ? MBT4
What is the maximum no. of forms can include in one project (vb project)? Satyam3
what are the Sequence of events when a MDI form open with two child forms closing?  1
in ADO connection string if password is leave blank and all others are given. what will happen eFunds1
Wat is Apartment Model?  3
what are Instancing for classes provided by ActiveX component like prive, publicnotcreatable,SingleUse, GlobalSinleUse,MultiUse. HCL1
Define the scope of Public, Private, Friend procedures?  1
How to change the Mouse Pointer?  2
Can we display only integers / numbers through the message box? Is there any constraint to do so? Infosys6
___,_____ and ____ container objects. ___ Property is to compress a image in image control. ___,___ and __ are difference between image and picture controls. To set the command button for ESC ___ Property has to be changed. ___,__,___ are the type of combo box? __ no of controls in form. OLE is used for _______ ___ is the control used to call a windows application. Clear property is available in ____,___ control. ___ Property is used to count no. of items in a combobox. ___ is a property to resize a label control according to your caption. ___ property is used to change to ___ value to access a identity column'in datacontrols. _____ is the property to ___,____,____ are valid for recordsource property of dat control. Timer control contains ________ no. of events. ____ property is used to lock a textbox to enter a datas. ____ is the difference between Listindex and Tab index. ____ property of menu cannot be set at run time. _____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol. ___ argument can be used to make a menuitem into bold. ___,___ arguments will be used to run a executable program in shell function ___ property used to add a menus at runtime. ___ VB constant make the menu item in centre. ___ method used to move a recordset pointer in nth position in DAG.  1
Which property of menu cannot be set at run time?  1
How would you activate animation control?  1
What do you mean by provider?  1
It is possible to access Text (x.txt) files? Explain. TCS1
How many no of controls are there in form? Satyam1
What are binary and project compatibility?  1
What is Centralization Error Handling?  1
How can you check Beginning and End of the file?  2
what are the Control Categories?  1
Write the correct order of execution of following form?s events: initialization, Load, Activate, Refresh , Paint  3
 
For more Visual Basic Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com