Microsoft KB Archive/114132

{| = PRB: SET SAFETY OFF Still Asks to Overwrite Existing App =
 * width="100%"|

ID: Q114132

The information in this article applies to:


 * Microsoft FoxPro for Macintosh, version 2.5b

SYMPTOMS
FoxPro for Macintosh will always ask "Replace existing 'filename.app'?" when you are rebuilding an existing application even if SAFETY is set to OFF.

NOTE: This behavior does not occur in Visual FoxPro 3.0b for Macintosh.

CAUSE
The "Replace existing..." dialog box is an Apple common dialog box that is not affected by the setting of SAFETY in FoxPro.

STATUS
This behavior is by design.

MORE INFORMATION
In FoxPro for Windows and MS-DOS, if SAFETY is set to OFF before an existing application is rebuilt, FoxPro will not ask if you want to overwrite the existing file.

Steps to Reproduce Problem
1. Type the following command in the FoxPro Command window:

SET SAFETY OFF 2. Open an existing project that has already had an application (.APP) built from it and is residing in the current working folder. 3. Rebuild the application. You will be asked "Replace existing  'filename.app'?"