DisplayHelpFile Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.DisplayHelpFile ( htmlFile, helpFile = "", tableOfContentsFile = "", indexFile = "", homeFile = "", windowCaption = "")

Return Value

Long

Returns the window handle of the created help window.

Purpose

Opens to a topic in a HTML Help file using the topic filename, such as Engine.htm.

Remarks

Opens the HTML Help window to a given topic within the compiled help file (.chm) using the filename of the help topic. If any of the following parameters are specified—tableOfContentsFile, indexFile, or homeFile—all three are used to build the HTML Help window. If none of these parameters are specified, the information stored in the help file is used to build the HTML Help window.

To ensure proper navigation within the opened help file, National Instruments recommends that all three parameters—tableOfContentsFile, indexFile, and homeFile—be specified together.

To specify that a file is within a CHM, use the following syntax:


CHMFileName\\FileName.xxx

Parameters

htmlFile As String

[In] Specifies the name of the HTML help topic within the help file to which the help window is opened. Include the file extension (.htm, .html) of the page. Specify the entire path of the page within the help file.

Pass "" to open the help file to the default topic.

helpFile As String

[In] Specifies the name of the HTML help file to open. Include the absolute path of the help file and the extension. If you do not specify a help file, TestStand uses the NI TestStand Help.

This parameter has a default value of "".

tableOfContentsFile As String

[In] Specifies the name of the table of contents file to use with the help file. Include the absolute path of the table of contents file along with the extension.

This parameter has a default value of "".

indexFile As String

[In] Specifies the name of the index file to use with the help file. Include the absolute path of the index file along with the extension.

This parameter has a default value of "".

homeFile As String

[In] Specifies the name of the default topic to display for the help file. Include the absolute path of the default topic along with the extension.

This parameter has a default value of "".

windowCaption As String

[In] Specifies the help window caption to display. This parameter is ignored unless a table of contents file, an index file, or a default topic file is specified. If none of these files are specified, the help window caption is the caption the author of the help file specifies. If you specify a contents file or an index file but do not specify this parameter, the window caption defaults to NI TestStand Help.

This parameter has a default value of "".


See Also

Engine.DisplayHelpTopic

WAS THIS ARTICLE HELPFUL?

Not Helpful