Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: VB4/32,VB5,VB6
Expertise: Intermediate
Mar 24, 2001



Application Security Testing: An Integral Part of DevOps

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.

'   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, sHelpPage
End Sub
Marco Bellinaso
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date