Hi all,
Finally did it, went from Delphi 7 to 2009. There is nothing I can do to get it to display a help file.
I tried help router and downloaded another two snippets that do effectively the same thing.
If I create a single form in D7 with a button and a Application.HelpFile= and Application.HelpContext etc it work fine. I compile the same code in D2009, click the button, an hourglass then nothing.
Any one have any ideas, is it a compiler setting (I tried running as admin incase it was an elevation issue etc).
Wits end folks. This has to be something so easy but I have tried the lot.
Any help well and truly appreciated.
Regards
Tony Benci
2009 will not display help files
Moderators: Alexander Halser, Michael Schwarzl
I found it very painful, also. It does not help that there is little documentation to tell you what to do. But the following works for me in D2009:
1. Remove all third-party help units and code snippets.
2. Add HtmlHelpViewer in your main form interface uses list.
3. In your FormCreate method, specify your helpfile as:
Application.HelpFile := 'myhelpfile.chm';
4. To show a help topic, use:
Application.helpsystem.showhelp('topicname', application.helpfile);
1. Remove all third-party help units and code snippets.
2. Add HtmlHelpViewer in your main form interface uses list.
3. In your FormCreate method, specify your helpfile as:
Application.HelpFile := 'myhelpfile.chm';
4. To show a help topic, use:
Application.helpsystem.showhelp('topicname', application.helpfile);