Link to home
Start Free TrialLog in
Avatar of prstein
prstein

asked on

Help file location different than default installation directory

I have an application that stores the help file and other supporting stuff in "c:\program files\MyApp\help\MuApp.hlp" as defined in Project|Options.  The problem is, when users install the program to something other than the default location, my application can't find the help file.  And an ugly window pops up forcing the user to either find the help file themselves or forget about using the help.  Many of my users are not especially computer literate, so I'd like to avoid this.  A few users are highly computer literate so I don't want to take out the option of installing to somewhere other than the default location.

So, the question is: How can I program my application to look for the help file in a "/help" directory off of the directory where the application is installed?

BTW thanks to all the EE experts who helped me get the application this far...
ASKER CERTIFIED SOLUTION
Avatar of rwilson032697
rwilson032697

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
Avatar of rwilson032697
rwilson032697

Actually, you could even try:

Application.HelpFile := 'help\myhelp.hlp\';

Cheers,

Raymond.
Avatar of prstein

ASKER

Thanks very much! I knew there had to be a (relatively) simple solution.

Paul