Library code snippets
Show a HTML Help topic by its filename
By James Crowley, published on 14 Jul 2001
When using a HTML help file, you will obviously want to be able to display certain pages or sections. This code shows you how to display a topic in the help file by specifying the filename
Public Sub HTMLShowTopic(strTopic As String)
' Force the Help window to load a specific topic.
' The Help window will synchronize the
' Contents display automatically
htmlHelpTopic hwnd, SetHTMLHelpStrings(), HH_DISPLAY_TOPIC, strTopic
End Sub
To call it, use this code:
HTMLShowTopic "html est_topic_1.htm"
Related articles
Related discussion
-
how do you hide all in VB6
by CapnJack (1 replies)
-
Problem with Input File
by novavb6 (3 replies)
-
How to produce a txt file with a table??
by novavb6 (1 replies)
-
VB6 compatability from XP to Vista
by bronx (1 replies)
-
Fully justify code
by fresh (0 replies)
This thread is for discussions of Show a HTML Help topic by its filename.