>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
What happens if you instead of Application.Visible use _screen.Visible?
BTW there is no need ot us _screen.Visible = .f. if you have SCREEN=OFF in Config.FPW
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.