>>Actually, I missed the initial point. I will try a test using the Timer to perform the release. That should better relate to how the QuitApp functions.
>
>Yes, this would be helpful. Also please try without NOWAIT option and I'll try with it in the meanwhile.
I just complete (for time been) a testy using the QuitApp demonstration. It appears that the RELEASE WINDOWS function as expected (closing the preview window) when performed in a simple PRG. But raises a "Cannot quit foxpro" error if in a APP or EXE. Are you seeing the same thing?
I have tried the RELEASE WINDOWS method, and attempting to send a Escape (using both Fox and WScript. Neither one worked. If I had the Window handle to the Preview window, perhaps it could be killed directly.
I will continue investigating this from time to time. Let me know if you come up anything close.
Greg
Greg Reichert