Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Identifing a destroyed object in VB6

1 réponse
Avatar
Gunaseelan
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

1 réponse

Avatar
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