ShowHtmlHelp – Show a HTML Help page

ShowHtmlHelp – Show a HTML Help page

Private Declare Function HtmlHelpTopic Lib "hhctrl.ocx" Alias "HtmlHelpA" _    (ByVal hwnd As Long, ByVal lpHelpFile As String, ByVal wCommand As Long, _    ByVal dwData As String) As Long'A HTML Help file is composed by many HTML pages, compiled in one CHM file.'This routine opens the HTML Help browser loading the specified help file and ' showing its specified page.'Example:'   ShowHelp App.Path & "MyHelp.chm", "MyHelp_About.htm"Sub ShowHtmlHelp(ByVal sHelpFile As String, ByVal sHelpPage As String)    Const HH_DISPLAY_TOPIC = &H0    On Error Resume Next    ' open the help page in a modeless window    HtmlHelpTopic 0, sHelpFile, HH_DISPLAY_TOPIC, sHelpPageEnd Sub

See also  Why ChatGPT Is So Important Today

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist