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 |
which Property is used to count no. of items in a combobox?
How do I access C style strings?
what is the difference between name property and caption property in visual basic?
Is visualvm free?
Is visual basic c#?
How do I make the mouse cursor invisible/visible?
How would you navigate between one document to another document
What do you mean by Databound Controls Explain?
Whats the advantages/disadvantages of using datacontrol vs DAO/ADO/RDO?
1 Answers L&T, MAHINDRA, Teledata,
what are the Differences between Recordset and Resultsets?
0 Answers IBS, Lava International,
How can I access a record by record number?
___,___ and __ are difference between image and picture controls.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)