Re: Link my help file to my application install path
- From: "Alexander Halser" <alexander.REMOVETHIS.halser@xxxxxxx>
- Date: Fri, 13 Oct 2006 13:23:48 +0200
Use only the file name, no directory spec.
This works as long as the help file is in same folder as the application and
as long as this folder is the "current" folder for the program. Because the
help file is searched for in the current folder (and in the Windows help
folder). If you start the application through a link or if you execute a
TOpenDialog/TSaveDialog in your program, the current folder may change at
runtime and the help file is no longer found.
A better way is to specify the help file *including* a fully qualified path at
runtime. You could do this in the OnCreate event of your main form:
Application.HelpFile := ExtractFilePath(Application.exename) + 'helpfile.hlp';
--
Alexander Halser
http://www.helpandmanual.com
.
- Follow-Ups:
- Re: Link my help file to my application install path
- From: Hans-Peter Diettrich
- Re: Link my help file to my application install path
- From: Bjørge
- Re: Link my help file to my application install path
- References:
- Prev by Date: Re: Link my help file to my application install path
- Next by Date: MemProof, Live Pointers, and Long Strings
- Previous by thread: Re: Link my help file to my application install path
- Next by thread: Re: Link my help file to my application install path
- Index(es):
Relevant Pages
|