ID: Q118848
2.5x 2.60 | 2.50b 2.50c
WINDOWS | MACINTOSH
kbprg kbfixlist kbbuglist kberrmsg
The information in this article applies to:
When a project containing an @ ... GET ... OPEN WINDOW ... MESSAGE command is built, the following message is displayed in a dialog box:
Unable to find File <message_text>.bmp
-or-
Unable to find File <message_text>.PCT
Program <filename> has the following errors:
File <message_text>.BMP - Undefined
-or-
Program <filename> has the following errors:
File <message_text>.PCT - Undefined
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.
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:
Program <path_name>main.prg has the following errors:
File TEXT.BMP - Undefined
-or-
Program <path_name>MAIN.PRG has the following errors:
File TEXT.PCT - Undefined
Last Reviewed: October 20, 1997