PRB: Cannot Create File GENSCRN.FXP or GENMENU.FXPLast reviewed: April 29, 1996Article ID: Q99601 |
The information in this article applies to:
SYMPTOMSWhen you are running FoxPro from a network, if you try to generate screen code using the FoxPro screen generator, FoxPro generates the error message "Cannot create file GENSCRN.FXP." A similar error ("Cannot create file GENMENU.FXP") occurs if you try to generate menu code from the menu generator. This error can also occur if you are running Visual FoxPro. NOTE: The same situation occurs with TRANSPORT.PRG and TRANSPORT.FXP, which are used when you bring a FoxPro for MS-DOS program into FoxPro for Windows or vice versa. In this case, the error message received is "Cannot create file TRANSPORT.FXP."
CAUSEWhen FoxPro runs a .PRG file, it compiles the .PRG file and creates the compiled .FXP version. The error message above appears when FoxPro cannot create the GENSCRN.FXP or GENMENU.FXP file in the main FoxPro directory. When FoxPro is on a network, this problem will occur if you do not have create rights to the main FoxPro directory.
RESOLUTIONThere are two ways to work around this problem:
Method 1The .FXP file is created only once, so if the system administrator creates a screen and generates it, the GENSCRN.FXP file will be created in the main FoxPro directory on the network.
Method 2Complete the following steps:
|
Additional reference words: VFoxWin 3.00 MBuilder FoxDos FoxWin 2.50 2.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |