Microsoft KB Archive/98693

{| = PRB: COLORSET Resource Not Found =
 * width="100%"|

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 &quot;COLORSET resource not found.&quot;

CAUSE
The FoxPro version 2.0-generated code contains the command SET COLOR SET TO. 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=&quot;COLORSET&quot; 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 &quot;Developer's Guide&quot; and &quot;Language Reference.&quot; Additional reference words: FoxDos 2.50 2.50a foxuser errmsg colors err msg KBCategory: kbprg kberrmsg kbprb KBSubcategory:
 * }