Well that explains it .... I guess there won't be a fix for this bug This is the second time I have been bitten by this bug ... not fun ...
Unfortunately the APP file I thought was only an hour old was really from last Friday so I could not refox It took me till about 8pm last night, about 4 hours, to rebuild the form with all my changes lost from the day I have created a bat file to make a quick backup of PRG, SCX/SCT and VCX/VCT files so I can make quick backups during the day. I looked for the temp files everywhere but I could never find them .... Thanks for the explanation Christof -----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of Christof Wollenhaupt Sent: Tuesday, September 9, 2014 4:45 AM To: [email protected] Subject: Re: Very Frustrated !! > > How can this happen and more important how can I avoid this in the future ? > > Is this a Foxpro problem ? a Windows 8 problem or a Dell laptop problem ? > It's a known bug in VFP. When VFP saves a form it saves using a temporary name, deletes the old version and renames the temporary copy. Windows can delete a file that is still open, say in a virus scanner. The file will then not be removed and has the state DELETE_PENDING. VFP can't deal with this. It get's the OK back from the delete call and assumes that the form is gone. But it's still there and will automatically be deleted when the lock on the file is released. Because the file is there, the temporary copy cannot be renamed, but VFP ignores that. For SCX files you might have luck finding two TMP files in the same folder as your form which contain the SCX/SCT files. The names usually only differ by one ending letter. The "smaller" name (eg. 1ABC123K.TMP" is the SCX file, the "larger" name (eg. 1ABC123L.TMP) is the SCT file. -- Christof --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

