I tried that.
The variable is referencing another form.
I am trying to test to see if the form is closed, and if so, re-instanciate
it, prior to performing some actions.
When i test for Nothing once the form has been closed down, it returns
false, indicating the variable reference is still pointing at something. If
i try to reference a property of the form i get an objectdisposedexception.
Any other suggestions??
"Arne Janning" <sp*****************@msn.com> wrote in message
news:Ob**************@TK2MSFTNGP11.phx.gbl...
Hi Darren!
"Darren Linsley" schriebI know this might seem like a dumb question, but how do you test that an
object exists.
Maybe i should explain a little.
I have a variable that points to an object. Now if that oject is
released,
how can i test my variable to see if the object it was pointing at,
still exists?
Please help!!
If Not myVariable Is Nothing then
....
Cheers
Arne Janning