Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/104045

From BetaArchive Wiki

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

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


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)


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.


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

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