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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FPW2.6 and HTML Help

Status
Not open for further replies.

Newtonm

Programmer
Nov 8, 2001
39
CA
Can you use an HTML compiled help file (.chm) with a FPW2.6 application. If so how???
 
No, because HELP in FPW fires up Winhelp.exe which is a 16-bit code file that doesn't recognize .CHM files - only "old" (16-bit) .HLP files. It can't even use new .HLP files!

Rick
 
Hi Rick:
Interesting. I seem to remember that service pack 5.0 for NT covered this problem and allowed 16 bit fox .hlp files to run. I wonder if there is a similar fix for XP and or 2000. Any ideas?
 
Well I just tried setting help to .CHM and even new .HLP files under XP Pro and they failed. So unless there was some replacement for WinHelp.exe, I don't think you are going to have any luck. Note: This one is dated 8/23/2001, but internally it has a copyright of 1991-1992 - version 3.10.425.

Rick
 
Yep same here, but there is Winhlp32.exe and according to the MSKB the problem arises if you are running a 16 bit help file on a 32 bit O/S it uses the wrong help engine. They point out that this was fixed in NT Service pack. It seem we need to somehow stop FPW26 using Winhelp.exe and persude it to use Winhlp32.exe but I have no idea how. As I said in my first message the .hlp file runs perfectl from the desktop under XP Pro.
 
Well I suppose you might be able to make a copy of Winhlp32.exe and rename it Winhelp.exe. However this doesn't seem to work as XP "fixes" it with the "right" version tucked away in c:\windows\system32\dllcache\ !

Rick
 
Yep, bin there, done that, doesn't work. I've sent a request to MS tech support to see if they can suggest anything. I'm pretty sure I had it working on one of my techie's machines under NT 4.0 +service pack 4 or 5. But when we tried it at the client's place with plain vanilla NT 4.0 we got the same message. This was a couple of years ago. We've come a long way since then...or have we <BG> If I get any joy from MS I'll post it here.
 
Hi Newtonm,

Of course you can run a compiled html help file (.chm) using FPW26...... here's the command:

RUN/N C:\WINDOWS\HH.EXE C:\SAMPLE\myhtml.chm

This will help you.

foxwizard
email: brensoriano@yahoo.com
 
Thanks foxwizard. I knew there had to be a way, works like a charm [2thumbsup]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top