ontsjc
Technical User
- May 17, 2000
- 113
Hello all,
I have just finished an application which incorporates an html help file. In my main calling program I have the following lines to direct the program to myhelp.chm which is in the directory programdirectory/help. The calling program is in the programdirectory directory (clear as mud?). Example: Main calling program in:
c:\program files\programdirectory\myprogram.exe
Help file is in:
c:\program files\programdirectory\help\myhelp.chm
My lines in my calling program are these:
set help on
set help to help\myhelp.chm
I then set the help topics based on the form I'm in. For instance in the Summary form's activate event I have the following:
SET TOPIC TO "Summary Screen"
Then in the help button click event I call:
HELP
The problem is that when I run the program in the development environment or do a fresh install on the development machine, the help works great. When I install it on a clean machine my help buttons do nothing at all. I am able to view my chm file with no problems by just running the file so I know the drivers are there to run the help, but it won't work from inside my application. Any ideas?
I have just finished an application which incorporates an html help file. In my main calling program I have the following lines to direct the program to myhelp.chm which is in the directory programdirectory/help. The calling program is in the programdirectory directory (clear as mud?). Example: Main calling program in:
c:\program files\programdirectory\myprogram.exe
Help file is in:
c:\program files\programdirectory\help\myhelp.chm
My lines in my calling program are these:
set help on
set help to help\myhelp.chm
I then set the help topics based on the form I'm in. For instance in the Summary form's activate event I have the following:
SET TOPIC TO "Summary Screen"
Then in the help button click event I call:
HELP
The problem is that when I run the program in the development environment or do a fresh install on the development machine, the help works great. When I install it on a clean machine my help buttons do nothing at all. I am able to view my chm file with no problems by just running the file so I know the drivers are there to run the help, but it won't work from inside my application. Any ideas?