|
-
Apr 4th, 2007, 09:41 AM
#1
Thread Starter
Hyperactive Member
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.
-
Apr 4th, 2007, 12:07 PM
#2
Re: Clear a public object without destroying it
Well have you tried that yet? Most likly it will work
My usual boring signature: Something
-
Apr 4th, 2007, 03:26 PM
#3
Re: Clear a public object without destroying it
Do you instantiate it with Set mdiform1.Motor.ObjDocLiq = New <something here>?
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Apr 4th, 2007, 05:47 PM
#4
Thread Starter
Hyperactive Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|