[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 876
  • Last Modified:

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
0
LMuadDIb
Asked:
LMuadDIb
  • 3
  • 2
1 Solution
 
TheRealLokiSenior DeveloperCommented:
From Delphi 7, Select Help-Customize, and manually add/fix any paths.
if you see nothing there, select
Open Project
...Delphi\Help\D7.ohp

if that file is not there, then you will need to manually create one
File New Project
then add all the .hlp files manually

0
 
TheRealLokiSenior DeveloperCommented:
FWIW, it's probably meant to be D7.hlp instead of DD7.hlp. not sure if that's just a typo like "Delhi" is
0
 
LMuadDIbAuthor Commented:
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.
0
 
LMuadDIbAuthor Commented:
yep, that was just a typo

0
 
TheRealLokiSenior DeveloperCommented:
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.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now