|
|
|
|
|
|
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #111551 is a reply to message #111549] |
Thu, 17 March 2005 06:43   |
konapraveen
Messages: 7 Registered: March 2005
|
Junior Member |
|
|
thanks for the comment... but yes.. i could get the detailed info on hh.exe and corresponding usage for .chm files. Will paste that here, as it might be useful to some one like me.
Info courtesy saurabhkudesia@hsbc.co.in
--------------------------
You cannot run the chm file directly from the appliction without using an executable program (hh.exe)
The HTML Help executable program (Hh.exe) runs whenever a user clicks a compiled help (.chm) file or menu item that opens the help file inside the Help Viewer. The HTML Help executable program calls the HTML Help ActiveX control, which opens the help file and provides navigation and other features to the user.
For integrating .chm files into your application u need to have HHActiveX.Dll with your help files.
Provide your developer with a copy of HHActiveX.DLL when you deliver your .CHM files. For information about how to install and register .DLLs, your developer can check the documentation included with the application's install program.
To manually install HHActiveX.DLL:
1.. Copy HHActiveX.DLL into Windows\System.
2.. Click the Windows Start button.
3.. Select Run.
4.. In Open, enter the following:
regsvr32 hhactivex.dll
5.. Click OK.
If your Microsoft HTML Help project includes custom or third-party ActiveX controls, the ActiveX files (.OCX, .DLL) need to be installed and registered on end-users' systems.For Application help also Provide your developer with a copy of HHActiveX.DLL when you deliver your .CHM files.
For F1 help,you need to some kind of coding with the help of image maps or id's that you generate with the help pages.
CHM file needs to be installed on end users' systems, along with Internet Explorer and several Windows system files (.DLL, .OCX, .EXE). The combination of all of these, installed correctly, provides the HTML Help functionality required to display the .CHM.
If your compiled Help is intended to be part of an application, you supply your developer with the .CHM and required system files, and installation can be handled at the same time that the application is installed. If your .CHM file is intended to be used as standalone online documentation, you can distribute it on an intranet, network server, or CD.
For running chm From a command line prompt type:
hh.exe "c:\path\NameOfchm.chm::/Topic.htm"
NOTE: the path must be adjusted to reflect what folder your .CHM file is in.
If you wish to link to a bookmark within a page in a .chm, the syntax is almost identical:
hh.exe "c:\path\NameOfchm.chm::/Topic.htm#bookmarkname"
You can also call a topic by its map number. The syntax for doing this would be:
hh.exe -mapid mapnumber "C:\path\NameOfchm.chm"
where "mapnumber" would be the map number in the .h file.
-------------------------
|
|
|
|
|
|
|
|
|