Microsoft KB Archive/118848

From BetaArchive Wiki

FIX: Project Asks to Locate BMP/PCT When Rebuilding

ID: Q118848

2.5x 2.60 | 2.50b 2.50c

WINDOWS   | MACINTOSH

kbprg kbfixlist kbbuglist kberrmsg The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5x, 2.6
  • Microsoft FoxPro for Macintosh, versions 2.5b, 2.5c

SYMPTOMS

When a project containing an @ ... GET ... OPEN WINDOW ... MESSAGE command is built, the following message is displayed in a dialog box:

  • FoxPro for Windows:

          Unable to find File <message_text>.bmp

    -or-

  • FoxPro for Macintosh:

          Unable to find File <message_text>.PCT

If you selected Display Errors in the Build Option dialog box, choosing Ignore or Ignore All in the message dialog box causes a window containing one of the following error messages to open:

  • FoxPro for Windows:

          Program <filename> has the following errors:

    File <message_text>.BMP - Undefined -or-

  • FoxPro for Macintosh:

          Program <filename> has the following errors:

    File <message_text>.PCT - Undefined

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro 2.6a for Windows and FoxPro 2.6a for Macintosh.

MORE INFORMATION

Steps to Reproduce Problem

1. In the Command window, type "MODIFY PROJECT testproj" (without the

   quotation marks).

2. In the Project window, choose Add, and then choose New. Save the new

   program file as MAIN.PRG.

3. Type the following in the edit window:

      CLOSE ALL
      CLEAR ALL
      CREATE TABLE sample (notes M)
      INSERT INTO sample (notes) VALUES ('memo text')

      DEFINE WINDOW notewind FROM 4, 1 to 10, 30
      @ 1, 1 GET notes OPEN WINDOW notewind MESSAGE 'Text'
      READ

4. Close the edit window, saving the changes. 5. In the Project window, choose Build. Select the Rebuild Project radio

   button, and the Display Errors and Rebuild All check boxes. Choose OK.
   When prompted to save changes, choose Yes.

6. A dialog box displays the message "Unable to find File text.bmp" in

   FoxPro for Windows, or "Unable to find File TEXT.PCT" in FoxPro for
   Macintosh. Choose Ignore.

A window opens, displaying one of the following error messages:

  • FoxPro for Windows:

    Program <path_name>main.prg has the following errors:

           File TEXT.BMP - Undefined

    -or-

  • FoxPro for Macintosh:

          Program <path_name>MAIN.PRG has the following errors:

    File TEXT.PCT - Undefined

Additional reference words: FoxMac FoxWin 2.50 2.50a 2.50b 2.50c 2.60 buglist2.50 buglist2.50a buglist2.50b buglist2.50c buglist2.60 fixlist2.60a errmsg err msg bitmap picture KBCategory: kbtool kbprg kbfixlist kbbuglist kberrmsg KBSubcategory: FxtoolProjman Solution Type : kbfix


Last Reviewed: October 20, 1997
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.