Home » Developer & Programmer » Forms » Calling HTML help (*.chm) file from Forms(Context specific help)
icon5.gif  Calling HTML help (*.chm) file from Forms(Context specific help) [message #111536] Thu, 17 March 2005 04:40 Go to next message
konapraveen
Messages: 7
Registered: March 2005
Junior Member
How to call HTML help (*.chm) file from Forms. Context specific help should be opened through *.chm file in client-server env.
Win_api_shell.winhelp is not opening/recognising *.chm files.
Win_API_Shell.WinExec is also of no help.
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #111540 is a reply to message #111536] Thu, 17 March 2005 05:36 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
WEB.SHOW_DOCUMENT. Doesn't that help?

MHE
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #111541 is a reply to message #111540] Thu, 17 March 2005 05:40 Go to previous messageGo to next message
konapraveen
Messages: 7
Registered: March 2005
Junior Member
No. WEB.SHOW_DOCUMENT is for web document.. *.html types. In client Server, need to open *.chm types for help files, that too context specific.
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #111542 is a reply to message #111541] Thu, 17 March 2005 06:03 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
What do you mean with:

"Win_API_Shell.WinExec is also of no help."

Because, this is what I saw on the OTN forums:

 We use the following to call a .CHM file:

win_api_Shell.winexec('hh.exe UserHelp.chm', WIN_API.sw_shownormal);
null


Another user posts this:
This works on C/S: Host ('hh.exe C:\my.chm')


MHE
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #111548 is a reply to message #111542] Thu, 17 March 2005 06:21 Go to previous messageGo to next message
konapraveen
Messages: 7
Registered: March 2005
Junior Member
Thanks a lot for responding Smile

For context specific help, Win_API_Shell.WinHelp takes second parameter to point to the required field. Win_API_Shell.WinHelp ('C:\XXX.hlp' , 'Cust Info' , WIN_API.HELP_INDEX , TRUE );

win_api_Shell.winexec does not have any param to point to a specific context.

Also, can you please provide some info on what this hh.exe is?win_api_Shell.winexec('hh.exe UserHelp.chm', WIN_API.sw_shownormal);


Is it the browser exe, that i would open my help file with? Say , will 'IEXPLORE.EXE C:\defields.chm' would work over there?


Praveen
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #111549 is a reply to message #111548] Thu, 17 March 2005 06:28 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
You are trying to display compiled html help files, but you don't know HH.exe? How strange...

hh.exe is the application used to view .chm files. (on WinTel boxes)

MHE
icon3.gif  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 Go to previous messageGo to next message
konapraveen
Messages: 7
Registered: March 2005
Junior Member
Smile 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.
-------------------------
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #142512 is a reply to message #111536] Sat, 15 October 2005 00:24 Go to previous messageGo to next message
sankar7
Messages: 7
Registered: October 2005
Location: Dhaka
Junior Member
HI,
Can u help me Calling HTML help (*.chm) file from developer2000 Forms.


Sankar
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #142605 is a reply to message #142512] Sun, 16 October 2005 18:24 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try the 'host' command.

David
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #142637] Mon, 17 October 2005 00:57 Go to previous messageGo to next message
sankar7
Messages: 7
Registered: October 2005
Location: Dhaka
Junior Member
Dear All,
Please help me for Calling HTML help (*.chm) file from menu (developer2000/6i)
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #142643 is a reply to message #142637] Mon, 17 October 2005 01:38 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try "host('hh c:/windows/help/access.chm');".

What happens?

David
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #142645 is a reply to message #142512] Mon, 17 October 2005 01:47 Go to previous messageGo to next message
sankar7
Messages: 7
Registered: October 2005
Location: Dhaka
Junior Member
Thanks for response. I just solved this problem with host command.
Re: Calling HTML help (*.chm) file from Forms(Context specific help) [message #183112 is a reply to message #111536] Wed, 19 July 2006 06:59 Go to previous message
fahedakhter
Messages: 39
Registered: March 2005
Location: Pakistan
Member

Why You not use Oracle Supplied Help Tool for Build your Customize Help System.
Previous Topic: Saving problem
Next Topic: how to retrive machine name from sql/d2k
Goto Forum:
  


Current Time: Fri Sep 20 09:31:46 CDT 2024