Clear a public object without destroying it
Hello.
Here's my problem:
I invoke this object from a DLL ("mdiform1.Motor.ObjDocLiq") in a mdiform. This object is declared as Public in the dll
("Public ObjDocLiq As New GcpBE601.GcpBEDocumentoLiq")
Then, I need to use it on other childforms
My question is:I need to clear the object content without destryoing it.
Can I use "set mdiform1.Motor.ObjDocLiq =Nothing"?
If you got any way to do it, please tell me.
Thank you all. :thumb:
Re: Clear a public object without destroying it
Well have you tried that yet? Most likly it will work ;)
Re: Clear a public object without destroying it
Do you instantiate it with Set mdiform1.Motor.ObjDocLiq = New <something here>?
Re: Clear a public object without destroying it
I've tried that way but it fails with err...
What I do is something like this:
"Public Motor As New RaSBS.PriMotor",
where RaSBS is my DLL and Primotor is a class of RaSBS.