SET RESOURCE Command

Updates or specifies a resource file. The resource file is a Visual FoxPro table that contains information on system and user-defined resources such as keyboard macros, preferences, system window locations and sizes, diary entries, and so on. There are two versions of the syntax.

SET RESOURCE ON | OFF

SET RESOURCE TO [FileName] 

Parameters

  • ON
    Specifies that changes made to the Visual FoxPro environment are saved to the resource file. (Default)

  • OFF
    Specifies that changes made to the Visual FoxPro environment are not saved to the resource file.

  • TO [ FileName]
    Specifies that changes made to the Visual FoxPro environment are saved to a resource file (FileName) other than the default FoxUser.dbf resource file.

    Issue SET RESOURCE TO without a resource file name to open the default FoxUser.dbf resource file. Issuing SET RESOURCE TO performs an implicit SET RESOURCE ON.

See Also

Reference

SYS(2005) - Current Resource File

Resource Files in Applications

SET Command Overview

Other Resources

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)