Skip to content

HelpFile Property

Description

Specifies the path and filename of a Help file used by your application to display Help or online documentation.

Alternatively, it specifies the path of the tip file for the Tip of the Day dialog.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property HelpFile() As String

Remarks

If you've created a Help file for your application and set the application's HelpFile property, Visual Basic automatically calls Help when a user presses the F1 key. If there is a context number in the HelpContextID property for either the active control or the active form, Help displays a topic corresponding to the current Help context; otherwise, it displays the main contents screen.

When displaying the Tip of the Day dialog, the HelpFile property must be set to the name and path to the "tips.txt" file. The tips will be displayed in the order in which they are added in the text file. HelpFile must be set before calling ShowTipOfTheDay. Note that the ShowHelp method also uses this property and the file formats are different, so be sure to set it to the tip text file before calling.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.