Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please confirm this for me - CLOSE ALL
Message
From
11/03/2005 17:18:47
 
 
To
11/03/2005 17:13:33
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00995029
Message ID:
00995043
Views:
17
>>>Hello all.
>>>
>>>I been do foxpro for years now and I just discover something.
>>>I never knew "CLOSE ALL" statement affects "SET CLASSLIB..." statement.
>>>
>>>Is this true?
>>
>>No.
>
>
>LOL.
>
>Ok then how come the following code after CLOSE ALL, my app. looses its classlib?
>
>ox=createobject("MyClass")
>boom - "MyClass" not found.....
>
>*********************************
>set classlib to MyLib.vcx
>close all
>*********************************
>
>
>But if I do this....
>*********************************
>set classlib to MyLib.vcx
>close data all
>*********************************
>
>I'm ok....
>
>huh, huh ?.... ;)

You're right. I saw CLEAR ALL, not CLOSE ALL. CLOSE ALL definitely clears the SET CLASSLIB all the way back to at least VFP6.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform