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!

Help with HTML Help 1

Status
Not open for further replies.

MadTown

Programmer
Jun 5, 2001
81
US
I have the following code in a method called gethelp in a top level form

pcNewHelp = ALLTRIM(JUSTPATH(SYS(16,0)))+'\Quick Catalog.chm'
SET HELP TO (pcNewHelp)
HELP


This method is called when it is chosen from a menu on the form. the call is as follows

_SCREEN.ActiveForm.gethelp()

This works fine on my development computer which is Win 2000
and also on my laptop which is running XP. Both computers have VFP 7.0 on them as well as the HTML Help Workshop. The problem is when I install the program on another computer (Using InstallShield Express for FoxPro)and select the menu option absolutly nothing happens.

I have looked through previous posts and this subject and have tried the suggestions. I have included the Microsoft Visual FoxPro HTML Help Support Libray merge module and the files hhctrl.ocx, iticrl.dll, itss.dll and hh.exe and all files appear to be in their appropriate places. I've sot of run into a wall on this. Does anyone have any suggestions to what I can do.

Peace to All

Ken
 
Danceman,

Thanks for the quick reply. I really don't want to switch from HTML Help to Windows Help just yet. I'm hoping someone can help me get the chm file to work. Thanks again

Peace

Ken
 
Mike, thanks for the info. I've looked through a few of the links, and now I am more confused than ever :) I believe the hhctrl.ocx is registered properly, but I am a novice when it comes to the registry, so I could be wrong I found numerous references to it in the registry of the Windows ME computer I installed the the program on. Installshield gives the option of Extract COM information which I have selected or Self Registration. I just wonder if there is something I might be missing that is so simple that no one would think I'd possibly forget that.

If anyone else has any sugestions, I'd love to hear them. This is the last piece of this project and If I could just get past this stumbling point, I'll be able to release this wonderful software to the world.

Peace

Ken
 
MadTown

The quick fix? Download Microsoft HTML help (or get it from the CD VFP6.0), install the whole thing on the user's machine, and delete just the directory, leaving the required runtime files. I have a feeling you might be missing one. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
I loaded html help on the computer and it still didn't work. This leads me to think that it is a VFP file that is missing.

Ken
 
MadTown

Here are the files required to run the HTML help on a standalone application:

Make sure you are installing all of the needed system files
to get HTML help to work from within VFP:
[ol][li] foxhhelpps.dll (self reg., windows system dir)[/li]
[li] foxhhelp.exe (self reg., windows system dir)[/li]
[li] hhctrl.ocx (self reg., windows system dir)[/li]
[li] hh.exe (windows dir)[/li]
[li] hha.dll (window system dir)[/li]
[li] itss.dll (window system dir)[/li]
[li] itircl.dll (window system dir)[/li][/lo]
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
All those files exist and are in the correct directories. I installed VFP 7 and the help file worked, I uninstalled and it didn't work. So either there is an issue with the foxhhelp.exe or foxhhelpps.dll registration or there is another FoxPro file that is required.

Ken
 
MadTown

Quick fix (Again) if by installing VFP7.0 it works. re-install and just delete the VFP directory, it will leave the runtimes. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
mgagnon thanks for the help I found the problem!!! It seems that with VFP 7.0 The required files include foxhhelp7.exe and foxhhelpps7.dll. I found them in the program files\common files\microsoft shared\vfp folder I added them to my install shield project and it works like a charm. Thanks again for the help sometimes it helps to bounce ideas around. that is what makes this forum so good.

Peace

Ken
 
I have the same problems but with VFP6. So I don't have files like foxhhelp7.exe and foxhhelpps7.dll/ The rest files exist correctly. I hope for your support
 
ocsen

I have the same problems but with VFP6. So I don't have files like foxhhelp7.exe and foxhhelpps7.dll/ The rest files exist correctly. I hope for your support

FOXHHELPPS.DLL
FOXHHELP.EXE

For VFP6.0
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top