Re: Link my help file to my application install path
- From: "Bjørge" <bjorge@xxxxxxx>
- Date: Fri, 13 Oct 2006 22:08:32 +0200
Alexander Halser wrote:
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';
The directory where the executable exists is allways searched:
--
Bjørge
bjorge@xxxxxxxxxxxx
.
- Follow-Ups:
- Re: Link my help file to my application install path
- From: Alexander Halser
- Re: Link my help file to my application install path
- References:
- Link my help file to my application install path
- From: nek
- Re: Link my help file to my application install path
- From: Bjorge
- Re: Link my help file to my application install path
- From: nek
- Re: Link my help file to my application install path
- From: Alexander Halser
- Link my help file to my application install path
- Prev by Date: Re: multiplication yield strange results
- Next by Date: Re: multiplication yield strange results
- 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
|