Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lost all method code in a class!!!
Message
From
26/04/2000 03:43:11
 
 
To
08/04/2000 12:01:06
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00353702
Message ID:
00363476
Views:
17
If I can get an exact repro scenario sent to daveka@microsoft.com, I'll put it on the table.

Dave

>I have that problem, and unfortunally the code disappears REALLY from .VCX/.VCT.
>What have happened I think that is a VFP bug.
>But you can avoid this to happen again.
>When some VFP program run and use a classlibrary (a .vcx) the .vcx definition remains on memory, and when you open it on class designer, the methods code
>come blank, because the vcx is in use. Until this step, the code is already on .VCX / .VCT
>But, if in this condition you modify anything on that class and save it, so just what you have modified is saved. The old code is lost, really lost.
>
>So, if you open a .VCX on class designer and the methods come with "default" (no code), close it and run the following on command window:
>
>CLEAR ALL
>CLOSE ALL
>RELEASE ALL
>
>Open your .vcx again and you will see that your code is recovered IF (repeat IF) you don't saved your .vcx when the methods code come in blank.
>
>I hope this helps.
Previous
Reply
Map
View

Click here to load this message in the networking platform