>I have an odd one here...
>
>I have a project with a single top-level form and use both
Application.Visible = .F.
in the Main program and SCREEN=OFF in CONFIG.FPW.
>
>However, I cannot successfully re-build the EXE (file access denied) unless I include a
Application.Visible = .T.
in the form's QueryUnload.
>
>The result is that the VFP SCREEN shows up after clicking the X-box on the form, needing its X-box (VFP's screen) to be clicked too.
>
>Is there a workaround for this... Keep VFP's screen invisible so that it does NOT require to be closed at exit?
>
>Thanks
Does Windows Task Manager show your .EXE as still running after you exit your application? Sounds like you're not exiting VFP (still in an active READ EVENTS).