I need to implement help to my VB6 project using a chm file.
have implemented the help and able to preview a content and index based help but don't know how to open the search page of the help file.
Here is the code which i am using
VB 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 Private Sub Contents_Click() HtmlHelp hWnd, "help.chm", HH_HELP_CONTEXT, ByVal 100& End Sub Private Sub Index_Click() HtmlHelp hWnd, "help.chm", HH_DISPLAY_TOPIC, ByVal "filesused.html" End Sub
Can some one help me with the search option also.One more problem i am facing with my help page is that if i click on content it shows me the contents page in the help file but next time when i click index,it again shows me the contents page only.
Thanks




Reply With Quote