Microsoft KB Archive/104045: Difference between revisions

From BetaArchive Wiki
m (Text replacement - """ to """)
m (Text replacement - ">" to ">")
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
== SYMPTOMS ==
== 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:
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:


<pre>  DRIVER2.PLB file not found. (MS-DOS version)
<pre>  DRIVER2.PLB file not found. (MS-DOS version)

Latest revision as of 16:49, 20 July 2020

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

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


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