Microsoft KB Archive/156071

= PRB: Launching .Exe File Returns "Document Is Locked" Error =

Article ID: 156071

Article Last Modified on 12/14/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b for Macintosh

-



This article was previously published under Q156071



SYMPTOMS
When launching an executable by double-clicking the file, the following error message appears:

The document is locked, so you will not be able to save any changes. Do you want to open it anyway?

 

After the error message appears, you can click OK to start the executable.



CAUSE
The file is locked, usually at the Finder level.



WORKAROUND

 * 1) Select the document at the Finder level.
 * 2) From the File menu, choose Get Info, or press Command+I.
 * 3) Deselect the Locked option (in the lower left corner), and close the Get Info dialog box.

NOTE: If a Word for Macintosh document locks in a similar manner and you double-click the document, the same error message returns.



STATUS
This behavior is by design.



MORE INFORMATION
In Visual FoxPro for Macintosh 3.0b the executable file is a Microsoft FoxPro document instead of an application program as it is in FoxPro for Macintosh 2.6. Therefore, it depends on the Visual FoxPro Support Library as its application.

For multi-user applications, the Visual FoxPro for Macintosh Support Library should be locked instead of the executable file.

Steps to Reproduce Behavior

 * 1) Create a Visual FoxPro for Macintosh 3.0 executable file.
 * 2) Go to the Finder, and select the executable file.
 * 3) From the File menu, choose Get Info and check the Locked box. Close the Get Info dialog box.
 * 4) Double-click the executable file.

Additional query words: kbdsd VFoxMac

Keywords: kbenv kbnetwork KB156071

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.