>I use Vfoxpro 6.0 sp5, and lately I keep loosing my code from within the methods in a class. The class maybe based on a form or be a custom class
>In some instances the application still works in others doesn't, but I cannot see my code that I have just entered a day before. It always happens to the same class library, but not always to the same class within that class library.
>Did this ever happened to anybody. Any help is greatly appreciated. Thanks
NOTE : This is about VFP5 !
Whether the next is the same as your situation I don't know, and it is similar to James Edgar's message :
VFP doesn't let itself edited (classes) in a multi-user environment (without additional tools). Thus, when someone is editing a class (higher in the hierarchy or the exact same) as you are, you will be getting a blank method without any warning; Don't press save, and don't do anything at all. In fact, the blank method tells you that someone else is in there.
Of course this works the other way too : when you are in a class, and another starts editing AND saves something, your beautiful code will be overwritten.
I never understood why this needs some VisualSourceSave or whatever ...