PRB: COLORSET Resource Not Found

Last reviewed: April 17, 1995
Article ID: Q98693
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.5 and 2.5a

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:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.