Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code keeps on disappearing
Message
From
19/12/2001 20:43:56
 
 
To
19/12/2001 18:42:45
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00596535
Message ID:
00596550
Views:
20
Hi Darek,

Lest you think VFP is picking on you, it happened to a lot of people with VFP 6.0. It seems to be fixed in VFP 7.0.

Before it was fixed, however, it used to drive me bats, since you cannot predict when it will happens, so you have to be careful all the time.

What happens is you open a class and all your carefully crafted method code is blank. Its not really gone, it just did not appear in the IDE.

Here's what you do to get it back.

Close the class, but DO NOT SAVE IT. If you save it, your method code will be gone for good.

Then, at the command window...

CLEAR ALL
CLOSE ALL
RELEASE ALL

Then, reopen the class. Your custom code should be back.

Regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform