PRB: COLORSET Resource Not Found

ID: Q98693

The information in this article applies to:

SYMPTOMS

When you attempt to run code generated in FoxPro version 2.0 for MS-DOS, FoxPro versions 2.5 and later display the error message "COLORSET resource not found."

CAUSE

The FoxPro version 2.0-generated code contains the command SET COLOR SET TO <colorset name>. The color set name is stored in the FoxPro version 2.0 FOXUSER.DBF file and is not available in the version 2.5 or later FOXUSER.DBF file.

RESOLUTION

To make the color set available in FoxPro version 2.5 or later, do the following:

In FoxPro version 2.0:

   SET RESOURCE OFF
   USE c:\foxpro2\foxuser
   COPY TO c:\foxpro2\temp FOR id="COLORSET"
   USE
   SET RESOURCE ON

In FoxPro version 2.5 or later:

   SET RESOURCE OFF
   USE c:\foxpro25\foxuser
   APPEND FROM c:\foxpro2\temp
   USE
   SET RESOURCE ON
   DO c:\foxpro25\goodies\misc\fixuser.app

For more information, see the "Developer's Guide" and "Language Reference."

Additional reference words: FoxDos 2.50 2.50a foxuser errmsg colors err msg KBCategory: kbprg kberrmsg kbprb KBSubcategory:

Last Reviewed: April 17, 1995