Hey Ken, Thanks for the feedback. Yeah - its not happening after editing a Form - or anything like that - just when its just about to finish compiling an EXE. And, strangely enough - it is NOT Consistent. I can at times do SEVERAL Compiles - then, after the 2nd or 3rd compile during the current Session - Then it throws the Error.
I've been doing the CLOSE ALL and CLEAR ALL commands. If it continues - I shall try your RELEASE ALL command suggestion. At times - when I do the CLOSE ALL and CLEAR ALL commands - I'm good to go - and can Compile NP. But, at other times - I do the CLOSE ALL and CLEAR ALL commands - and the Error STILL Occurs. At that point - I shut down VFP and the re-open it & try again. And - understand - much of what I'm doing now is small changes and fixes & trying to compile & run a test after each. So - keep on trying to Close VFP & Re-Open, well - that's kinda NUTS - and is REALLY Gonna KILL Me in trying to make progress today... -K- -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Ken Dibble Sent: Tuesday, April 09, 2013 11:07 AM To: [email protected] Subject: Re: WTF??? File Is Not Open! >That Error Msg above in the Subject (the WTF was not actually thrown by VFP) >- it KEEPS happening when I try to compile this App. FYI - I'm building an >EXE. At the Very End of trying to build the EXE - it gives me this error. >But, of course, the Error doesn't mean anything - and it doesn't give me >anymore hint as to what the Error is - with nothing specific about it in the >Error Log. > > >Its making Impossible to properly get work done - since - at this point - >when I get the Error - I know it doesn't create the EXE correctly (as I just >found it DOES create an EXE - but, it comes up with Nasty Errors when I just >tried to run it). And, I end up trying to close everything down in my >current VFP session. Then Re-Opening the Proj - the Re-compiling the EXE. >But, of course, that's NUTS - and is WASTING a Lot of time! Sometimes - even >THAT does not work - and I completely Get out of VFP - then go back in - and >finally I can compile correctly. But, again - LOTS of wasted time. First, VFP won't be able to compile an app unless all of its components have been removed from memory. VFP doesn't do that very well on its own just because you've ended an editing session with some file. If you're compiling a complex project you need to either issue RELEASE ALL and CLEAR ALL before compiling, or do as I do--shut down VFP and restart it in order to compile with a clean slate. Second, "File is not open" usually occurs as a result of corruption to a report file or, less often, an scx form, when you try to save it after editing. If you get that error under those circumstances, you have lost all the edits you've made since the last save and you have no option but to close the file without saving. I haven't seen it in the context of compiling an application but if it still occurs after you've followed the above steps to ensure that nothing remains in memory before compiling, then I would guess you have a corrupted file. Ken Dibble www.stic-cil.org [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/5BFAD834319849F581014C0FA40F424E@Programming2 ** 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.

