If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > paradox 7 and windows chm help file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-10-03, 11:39
temp temp is offline
Registered User
 
Join Date: Oct 2003
Posts: 28
paradox 7 and windows chm help file

is it possible for these two to work together? I've tried using the paradox 7 routine, helpShowTopic but that appears to only be able to deal with .hlp files which is the old help format. If it doesn't, does anyone have a clue on how to rewrite it to deal with a chm file? muchas gracias!
Reply With Quote
  #2 (permalink)  
Old 12-10-03, 14:02
lmckelvy lmckelvy is offline
Registered User
 
Join Date: Oct 2003
Posts: 107
Just use the execute() command and call Windows help directly, with the chm file as a command line argument.

ON EDIT: Don't forget that the executable you want is HH.exe, usually found in the C:\Windows directory.

Last edited by lmckelvy; 12-11-03 at 09:29.
Reply With Quote
  #3 (permalink)  
Old 12-11-03, 11:48
temp temp is offline
Registered User
 
Join Date: Oct 2003
Posts: 28
thanks again!, I'm not terribly versed in this so I'm not necessarily sure how one calls that w/ a command line arg via execute. I'm really primarily interested in utilizing the function of showhelp that allows you to pass topic keyword information so that when someone dbl right clicks on an object I can pass the this.object name as a topic string that will pull up the chm file with the relevent or default topic open - is it possible to do this using the execute method?
thanks again for all your help!
Reply With Quote
  #4 (permalink)  
Old 12-11-03, 12:48
lmckelvy lmckelvy is offline
Registered User
 
Join Date: Oct 2003
Posts: 107
Code:
if not execute("hh.exe c:\\windows\\help\\wordpad.chm", No, ExeShowNormal)
	then	errorShow()
endif
Place this in a script and run it. This should open the Wordpad CHM Help file on your PC if it is in the same place as mine. Note the double slashes that are required in the path. That should point you in the right direction.

There is not an argument you can pass like this for specific topics within a CHM file that I can find. If you want that you may have to look into DDO but I personally don't think the benefit is worth the effort.

You might consider writing individual CHM files for specific topics, then linking to them by inserting code into the mouseDouble event of the element for which you want context help, then passing the CHM name on to this bit of code.

Last edited by lmckelvy; 12-11-03 at 14:32.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On