Hey Todd,
oApp.lRunTime = Upper(Justext(_vfp.FullName)) = 'DLL'
>I am wondering how to determine, in code, whether an error has occured during development or run mode.
>
>If the operator is running the program from the application executable, I want to close VFP.
>
>Best regards,
>
>Todd
Greg Foote
Software At Work, Inc.