I am tring to open a help file from oracle project ,so I search the web and found this code about opening a help file called "HHDemo.chm" from a vb project and I dont under stand the code.
could you please help me?

this is the code
(
Private Declare Function HtmlHelp Lib "HHCtrl.ocx" Alias "HtmlHelpA" _
(ByVal hWndCaller As Long, _
ByVal pszFile As String, _
ByVal uCommand As Long, _
dwData As Any) As Long

Const HH_DISPLAY_TOPIC As Long = 0
Const HH_HELP_CONTEXT As Long = &HF

Private Sub Form_Load()
ChDir App.Path
End Sub
Private Sub Command1_Click()
HtmlHelp hWnd, "HHDemo.chm", HH_HELP_CONTEXT, ByVal 101&
End Sub

Private Sub Command2_Click()
HtmlHelp hWnd, "HHDemo.chm", HH_HELP_CONTEXT, ByVal 100&
End Sub
)

thanx

Reema