HelpFile property

Microsoft Visio Developer Reference

HelpFile property

   Example   

Gets or sets the help file to be used by a menu or toolbar item.

Version added

4.0

Syntax

object.HelpFile = fileStr
fileStr = object.HelpFile

object

Required. An expression that returns a Menu, MenuItem, or ToolbarItem object that has or gets the help file.

fileStr

Required String. The name of the help file.

Remarks

If you provide a fully qualified path along with the name of the help file, the application searches the folders specified in the HelpPaths property of the Application object.

If HelpFile is null and the object's CmdNum property is set to one of the Visio command IDs, your program uses the default help file from the built-in Visio user interface.

Note Set the HelpContextID property of the object to display a particular topic within a help file.