Dear all,
When I try to access a destroyed object I get an Error.
Is there is any method to identfy is a object is destroyed or not...
Thanks
Gunaseelan
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Zoury
Yep! :O)
'*** Dim c As Collection If (c Is Nothing) Then Call MsgBox("The object isn't instanciate") End If '***
use "Not c Is Nothing" if you want to know if it is instanciated.
and for future questions, you might want to ask them over "microsoft.public.vb.general.discussion" so you could get english assistance. This group is intended to french speaking people. :O)
-- Best Regards Yanick Lefebvre - MVP pour Visual Basic http://faq.vb.free.fr/?rubrique=0 - http://www.mvps.org/vbnet/ http://www.mentalis.org/agnet/apiguide.shtml - http://www.mztools.com/ "Gunaseelan" wrote in message news:OS$
Dear all, When I try to access a destroyed object I get an Error. Is there is any method to identfy is a object is destroyed or not... Thanks Gunaseelan
Yep! :O)
'***
Dim c As Collection
If (c Is Nothing) Then
Call MsgBox("The object isn't instanciate")
End If
'***
use "Not c Is Nothing" if you want to know if it is instanciated.
and for future questions, you might want to ask them over
"microsoft.public.vb.general.discussion" so you could get english
assistance. This group is intended to french speaking people. :O)
--
Best Regards
Yanick Lefebvre - MVP pour Visual Basic
http://faq.vb.free.fr/?rubrique=0 - http://www.mvps.org/vbnet/
http://www.mentalis.org/agnet/apiguide.shtml - http://www.mztools.com/
"Gunaseelan" <tgunaseelan@virtusa.com> wrote in message
news:OS$HhVyMEHA.1348@TK2MSFTNGP12.phx.gbl...
Dear all,
When I try to access a destroyed object I get an Error.
Is there is any method to identfy is a object is destroyed or not...
Thanks
Gunaseelan
'*** Dim c As Collection If (c Is Nothing) Then Call MsgBox("The object isn't instanciate") End If '***
use "Not c Is Nothing" if you want to know if it is instanciated.
and for future questions, you might want to ask them over "microsoft.public.vb.general.discussion" so you could get english assistance. This group is intended to french speaking people. :O)
-- Best Regards Yanick Lefebvre - MVP pour Visual Basic http://faq.vb.free.fr/?rubrique=0 - http://www.mvps.org/vbnet/ http://www.mentalis.org/agnet/apiguide.shtml - http://www.mztools.com/ "Gunaseelan" wrote in message news:OS$
Dear all, When I try to access a destroyed object I get an Error. Is there is any method to identfy is a object is destroyed or not... Thanks Gunaseelan