Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lost all method code in a class!!!
Message
From
01/04/2000 01:22:56
 
 
To
01/04/2000 00:55:02
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00353702
Message ID:
00353847
Views:
25
Actually, it's pretty well known here, but not easily enough reproduced to report as a bug.

There are two things that I have seen cause this-

1. developing in a multi-developer project without VSS- workstation 1 attempts to modify a class that workstation2 is modifying. For some reason, occasionally, instead of "access is denied", the designer will open the class, but all methods will be empty. If workstation 2 saves the class, it will be saved with all method code erased.

2. Same symptoms, but with only one workstation- if the class definition is still in memory, occasionally, the designer will allow you to modify it in the same way- it will open, but all methods are empty.

The code is not recoverable from the vcx. The only way out of this is backup. The only prevention is making sure that there is class code already present before you modify a vcx based class.

I wish I could give you more details regarding how to reproduce this, but it happens only occasionally, and seemingly randomly.

>This is not a known problem. If the code is indeed gone in the VCX, you might be able to MODY FILE the VCT to get the method code.
>
>Dave
>
>
>>Can someone explain to me how VFP 6.0 running on NT 4.0 service pack six deleted all method code in a class I have been working on all day!! All assign method code as well.
>>
>>I was running the application, extied the application, opened the class to add one line of code to an empty method, saved the class and run the application again. The class had none of the functionality it had previously. I exited the application and opened the class to find all method code gone except the one line of code I had just added.
>>
>>What the f..., This is a serious problem. Has anyone ran into this before?
>>
>>Thanks,
>>Bill
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform