As we're all sharing our reset utilities, here's a subset of mine: SET SYSMENU TO DEFAULT ON ERROR ON SHUTDOWN RELEASE ALL SET RESOURCE ON SET PROCEDURE TO SET LIBRARY TO SET CLASSLIB TO CLEAR CLEAR PROGRAM CLEAR RESOURCES CLEAR EVENTS CLEAR ALL
I also disconnect any open connections to SQL Server if I happen to be working in that environment. Finally I use an intellisense entry so I can call it with a couple of keystrokes. -- rk -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Dan Covill Sent: Tuesday, April 09, 2013 2:49 PM To: [email protected] Subject: Re: WTF??? File Is Not Open! Hi, Kurt I have the CLOSE ALL, CLEAR ALL, etc. in a RESET.PRG, which I DO from time to time. This is a result of lots of problems where I'd modify a .PRG and run it only to find it was the .fxp from the old one that was executing! I think the problem was VFP caching work areas. Anyway, when that happens I DO RESET and the world is OK again. Not sure why you recompile the EXE for each test? I do all my testing via the PRGs, when it's (finally) working the way I want it to, then I compile the .exe (and retest) before releasing/installing it. Dan _______________________________________________ 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/DF1EEF11E586A64FB54A97F22A8BD044218D83B99A@ACKBWDDQH1.artfact.local ** 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.

