Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I recently compiled HTML help files

Status
Not open for further replies.

CleoMan

Programmer
Jun 18, 2003
110
0
0
ZA
I recently compiled HTML help files using the HTML workshop. This created a help file with a extension of .chm

What i would like to know is how to open this file extension from within paradox? Would I use a DDE type or is there another way?

Any help would be immensely appreciated.
Thanks
 
I would use execute() with a command line argument. For example, to see the calculator chp file I would use:

Code:
execute("c:\\Windows\\hh.exe"+" c:\\Windows\\Help\\calc.chm", Yes, ExeShowNormal)

Just make sure to begin your argument with a space character (it's difficult to see in my example).

Mac :)

"There are only 10 kinds of people in this world... those who understand binary and those who don't"

langley_mckelvy@cd4.co.harris.tx.us
 
Thanks Mac, I am sure that will do it. Let u know how it went. Thanks again.
 
Hey your code worked great! But now after the .chm file opens and I close it, it opens again! Any ideas as to what may cause this?

Thanks
 
No, I don't know of anything that would cause that off the top of my head - it worked fine for me when I tested it. You should change the logical to 'No' so that Paradox is not suspended while the help program operates, though. Let's have a look at your code.

Mac :)

"There are only 10 kinds of people in this world... those who understand binary and those who don't"

langley_mckelvy@cd4.co.harris.tx.us
 
Sorry to bump this old topic - but has anyone managed to do this whilst also using the map file tag created in the help file, therefore giving the ability to have context sensitive help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top