Link to home
Start Free TrialLog in
Avatar of LMuadDIb
LMuadDIbFlag for United States of America

asked on

no more borland Help in D7

ok,
when I select "help" from the main menu in the ide of D7... D7 displays the following error in a window:

"Cannot find the c:\Program Files\Borland\Delhi7\....\Dd7.hlp Help file. Check to see that the file exists on your disk. If it doesn't, you need to reinstall it."

the path in the error window leads to the dir my current project is in... and not to the "\Delphi\docs\" dir
and the d7.hlp file is located there in the  "\Delphi\docs\" dir


can someone help me fix this, I dont want to reinstall D7
thanx for your time
ASKER CERTIFIED SOLUTION
Avatar of TheRealLoki
TheRealLoki
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
FWIW, it's probably meant to be D7.hlp instead of DD7.hlp. not sure if that's just a typo like "Delhi" is
Avatar of LMuadDIb

ASKER

I get an err when I tried: "Select Help-Customize"  

"OpenHelp not found" ... "oh.exe" file missing from bin dir

I was able to fix my d7.hlp file.. it will run now... except for one thing. If I select a component like TEdit in the editor and press F1 it just loads the help to the main index page and not to the specific object. Minor...


btw...here is the link I found to fix my help problem:

http://www.delphidabbler.com/articles?article=15

 Registering the help file with Windows

The first thing we need to do is register the help file and any contents files with Windows. To do this:

   1. Copy the .hlp file (and any .cnt or .toc files) to a suitable folder on your computer and note the folder's path.
   2. Now open the Windows RegEdit utility and navigate to the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Help key.
   3. Create a new string (REG_SZ) value at give the value the same name as your help file (just the file name without the path). Set the value to the path to your help file. The following figure provides an example.
   4. Repeat the process for any .cnt or .toc files in your help project.
yep, that was just a typo

once you have the help up, just go file open, and select the right help file (d7.hlp i think) and you should be able to F1 again.