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 is the Difference between Declaration and
Instantiation an object?



what is the Difference between Declaration and Instantiation an object?..

Answer / guest

Dim obj as OBJ.CLASS with either
Set obj = New OBJ.CLASS or
Set obj = CreateObject(?OBJ.CLASS?) or
Set obj = GetObject( ,? OBJ.CLASS?)
or
Dim obj as New OBJ.CLASS

Set object = Nothing
ensure the object is release from the memory.

If this object is a form, you can add set myform = nothing
and Form_Unload() event.Maintain a habit of remove the
object by using set object = nothing which will benefit at
last. Visual Basic is supposed to automatically release
objects when they go out of scope. To free up some memory
usage, you can set the object to nothing.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Visual Basic Interview Questions

What is dao in vba?

0 Answers  


It possible to call OLEDB's Features directly in VB without using any control?

0 Answers  


How would you Create a Query Builder and Explain its uses

0 Answers  


How many File System Controls are there ? Explain.

0 Answers  


what is differece b/w Module and class Modules in vb6? thanks

4 Answers   Ask Techsys, TCS,


How can you Navigate from the DHTML application to another DHTML application? .

0 Answers  


Which tool is used to configure the port range and protocols for DCOM communications?

2 Answers  


what is the Code for DSN Less Connection?

1 Answers  


How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?

0 Answers  


What is the maximum no. of forms can include in one project (vb project)?

3 Answers   Satyam,


what are the types of Recordsets?

1 Answers   Wipro,


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

0 Answers  


Categories