Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataenvironment class is in use error
Message
De
15/03/2005 17:28:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00995822
Message ID:
00996124
Vues:
20
>>>>>Hi all,
>>>>>
>>>>>I did my dataenvironment class, and change the DEClass property in my Form Class.
>>>>>
>>>>>When I open the form class in class designer and close it. The Dataenvironment class is in memory, When I try modify get a 'can not modify a class that is in use' message, and still in memroy until close Visual Fox Pro.
>>>>>
>>>>>Do you know how release from memory or close it?
>>>>>
>>>>>Thanks a lot,
>>>>>
>>>>>Gavilán Ramírez
>>>>
>>>>close all
>>>>clear all
>>>>clear program
>>>>
>>>>Cetin
>>>
>>>Cetin,
>>>
>>>Thank you for your answer
>>>
>>>but when i do
>>>
>>>MODIFY CLASS myclass OF ...
>>>
>>>VFP says 'Remove Classes from Memory?' and later 'Can not modify a class that is in use'
>>>
>>>I do:
>>>
>>>Cancel
>>>Clear all
>>>Release all
>>>Clear Program
>>>Close all
>>>
>>>And VFP says the same,
>>>
>>>Do you have some idea?
>>>
>>>Regards,
>>
>>Try the commands in the order Cetin told you. Sometimes it makes a difference.
>
>
>Thanks Fredd,
>
>I try again
>
>close all
>clear all
>clear program
>
>But nothing, I have the same problem.
>
>When I edit the form, it seems open my environment class, but when I close the form, my environment class remains opened. So when I tried edit it, is in use.
>
>Another idea ?
>
>Thank you

Sorry, no. It must have something to do with how you're adding your class to the form.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform