PRB: "File Not Found" Errors If FoxPro Started from Le Menu

Last reviewed: June 26, 1995
Article ID: Q104045
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.5 and 2.5a
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SYMPTOMS

When you start FoxPro from Le Menu and attempt to set a printer driver or issue the SET PDSETUP TO <setup name> command, one of the following error messages occurs:

   DRIVER2.PLB file not found. (MS-DOS version)
   DRIVER2.FLL file not found. (Windows version)

CAUSE

This error occurs because GEN_PD.PRG is using the SYS(2004) function to locate the DRIVER2 library. SYS(2004) returns the path and name of the directory that contains the FoxPro executable file. When FoxPro is started from Le Menu with the Program Start option, however, SYS(2004) does not return anything.

RESOLUTION

To resolve this problem, use the Batch File option in Le Menu to start FoxPro rather than the Program Start option.

NOTE: This problem affects any FoxPro program that uses SYS(2004) to locate a file. For example, each of the FOXTOOLS sample programs uses SYS(2004) in the SET LIBRARY TO command.

Le Menu is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.


Additional reference words: FoxDos FoxWin 2.50 2.50a errmsg err msg
KBCategory: kb3rdparty kberrmsg kbprb
KBSubcategory: FxsetupError


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 26, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.