Author: siorli | Posted on: 10/30/2008 4:28:41 PM | Views : 385

Hi there,

I have a basic question:

When should I use the new keyword to instantiate an object and when should I just declare the object using the object type , e.g:

Dim TextBox1 As New TextBox() vs. Dim TextBox1 As TextBox.

My question is more generic than this example, and I would like to know what are the different cases I should use the new keyword.

Thanks.
...

Go to the complete details ...