Hi Morys ---
This is one of the reproducible C000005 errors....it appears IMHO that any reference to SCREEN or _SCREEN after a CLEAR EVENTS has been issued causes this.....
>I have placed the MODIFY WINDOW SCREEN command in my main program to reset the background but I am getting an error message when I run the executable.
>
>FATAL ERROR: Exception code=C0000005
>Called from - main line 867 {c:\msconline16test\main.prg}
>
>Can someone tell me why this command works from within Fox but not from the executable?
>
>Thank you in advance.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05