Checking to see if Instance Exists

  • Thread starter Thread starter twick10
  • Start date Start date
T

twick10

I know this is probably a very basic question.

Can someone tell me the syntax to check to see if an instance of an object
exists?

I want to:
If (does this instance exist) Then
.......
.......
End If
 
* "twick10 said:
I know this is probably a very basic question.

Can someone tell me the syntax to check to see if an instance of an object
exists?

I want to:
If (does this instance exist) Then

Add a shared property to your class that returns a Boolean. Inside the
class, you can maintain a counter that counts the instances of the
class.
 
Back
Top