Partager via


SET HELP Command

Enables or disables the Microsoft Visual FoxPro Help file or specifies another Help file. There are two versions of the syntax.

SET HELP ON | OFF

SET HELP [TO [FileName]] [COLLECTION [cCollectionURL]] [SYSTEM]

Parameters

  • ON
    Displays the Help window when you press F1 or issue HELP in the Command window. (Default)

  • OFF
    Makes Visual FoxPro online Help unavailable.

  • TO [ FileName]
    Specifies a Help file that is displayed when you press F1 or issue HELP.

    You can specify a .dbf-style Help file, a WinHelp (.hlp) file, or an HTML (.chm) help file. Beginning with Visual FoxPro 7.0, if you issue SET HELP TO without including a file name, Visual FoxPro looks for the default help file.

  • COLLECTION [ cCollectionURL]
    Specifies the name of an HTML Help collection to be used as Help source.

  • SYSTEM
    Specifies that a collection name is used as the Help source.

Remarks

You can use SET HELP to provide a tailored online Help file within a custom application or to switch between the different Help files in Visual FoxPro.

The Visual FoxPro Help file, dv_FoxHelp.chm, is installed by default with the Visual FoxPro product. If you perform a complete installation of the Microsoft Developer's Network (MSDN) library, or if you perform a custom installation of the MSDN library and you specify to install the Visual FoxPro documentation, the Visual FoxPro Help file is installed.

The following table describes the registry values for Help settings:

Setting

Registry key

Registry value

SET HELP ON | OFF

HelpOn

0 or 1

SET HELP TO cfilename

HelpTo

cFileName

SET HELP COLLECTION cCollectionURL

HelpCollection

cCollectionURL

SET HELP SYSTEM

HelpSystem

0 or 1

You can also use the Help File option on the File Locations tab of the Options dialog box to interactively specify a Help file.

See Also

Reference

HELP Command

SET TOPIC Command

SET Command Overview

Other Resources

Commands (Visual FoxPro)

Language Reference (Visual FoxPro)