Hello
I want to know when and in what context should I use "new"? It is because I saw some source codes that sometimes had "new" and sometimes did not have "new".
for example : dim myfrm as form1 (why I have no "new" in this case?)
for example : dim myconn as new ADODB.Connection (why I have "new" in this case?)
Thank you in advance.
Best regards
John Wen
3 - 7 - 08
I want to know when and in what context should I use "new"? It is because I saw some source codes that sometimes had "new" and sometimes did not have "new".
for example : dim myfrm as form1 (why I have no "new" in this case?)
for example : dim myconn as new ADODB.Connection (why I have "new" in this case?)
Thank you in advance.
Best regards
John Wen
3 - 7 - 08