VB.Net and object checking

Permabanned
Joined
24 Dec 2002
Posts
474
Location
Chelmsford, Essex. Bling Bling
Ive got a string variable that holds the name of an object.

What i want to do is check to see if that object exists before creating it

Normally you'd do

If objWhatever is nothing then
objWhatever = new blahblah
endif

what i want to do is use the contents of the string as the object name and do the check on that.

Any hope of doing this in VB.net?
 
Back
Top Bottom