the New keyword

If you type:
Visual Basic:
Dim blah as Label
You will not actually create a new object, you will be able to assign a label that already exist to that variable. Most of the classes require New keyword, but some classes are static and they dont require a new instance of the object and you can use their methods without a new instance.
If you want to create a new object of whatever kind you wish you must use New keyword.
 
Back
Top