Link to home
Start Free TrialLog in
Avatar of chrishart
chrishart

asked on

Directory location of help file

When I first run my program the help command (F1) works fine.

After I use an open dialogue to open a file the help command fails because the system seems to look in the new directory rather than the program directory.

Any ideas how to fix this?

ta Chris

(PS using C++Builder)
Avatar of ZifNab
ZifNab

Where do you define your help-file directory?
ASKER CERTIFIED SOLUTION
Avatar of fsanchez
fsanchez

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
fsanchez,
it's easier to do it in the project source :
like this   Application.Helpfile := '{path & or Filename}';

That's why I asked where he defined his help-file directory.

Avatar of chrishart

ASKER

Thanks that looks like it should work.

Sorry about the stibgy points they're all I have !

Cheers Chris
Thanks ZiffNab for the extra help.

My hlp file is kept along with the .exe

cheers chris