Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing code in methods
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00839737
Message ID:
00840080
Views:
24
>I know that there is a bug in VFP8 or previous versions for losing code in the methods. Has anyone been able to trace it down as to why? The reason I am asking is out of 4 developers working in VFP6/7/8 we have lost all the code out of forms like twice in the last 2 weeks. What is weird is we have not lost code in over a year. It must be a very rare bug. I am trying to figure out how it happens and was curious if anyone has seen any pattern. Maybe together we can figure out the pattern and get the VFP team to fix the bug.
>
>I have seen it lose code when I have an ActiveX control on the form. We also use Visual SourceSafe, but if I remember correctly I have lost code when I did not have Visual SourceSafe. I have also seen it lose code from some of the methods, but not all of them.
>
>Dale

I had this problem back in VFP 6 when I was working on a form that included a complex composite class. The problem would happen if I ran the form, and it bombed out with an error, and I then tried to modify the form. Making sure I did a CANCEL and CLEAR ALL seemed to prevent the problem. In more recent versions of VFP, I've found that I get a "Cannot modify an object in use" error in these situations, which prevents the problem.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform