Rated
Read 28,082 times
Contents
Related Categories
Writing Help - The Project File
The Project File
The project file contains details of
what to call your help file etc.
To make a project file, create a
text file using Notepad, and save it in the folder you installed the HC5.exe with the
extension HPJ. Insert the following text. The text in red you need to adjust to your needs:
[Options]
Title=My Help File ;Title to appear on the Help title bar
ErrorLog = Error.txt ;File to store compile errors
Contents = TableOfContents ;ContextString of Topic to be
contents
[Files]
Topics.RTF ;Name of file containing topics
[Config]
BrowseButtons() ;Macro to place browse buttons on the help screens
[Map] ; section to define context string parameters
CompanyInformation 1 ; Here add a list of all your topics (they use the
contextstrings. They ;
must be the same)
ContactInformation 2 ; the numbers are
just something for the help compiler to use
OtherInformation 3 ; make sure you use
a different number for each Topic.
James first started writing tutorials on Visual Basic in 1999 whilst starting this website (then known as VB Web). Since then, the site has grown rapidly, and James has written numerous tutorials, articles and reviews on VB, PHP, ASP and C#. In October 2003, James formed the company Developer Fusion Ltd, which owns this website, and also offers various development services. In his spare time, he's a 3rd year undergraduate studying Computer Science in the UK. He's also a Visual Basic MVP.
Comments
-
Posted by napoleta on 05 Aug 2003
I've been having the same problem. I found that you can trick VB into doing it by placing the following code in the click event on your help button:
SendKeys "{F1}", True
The trouble is, I have... -
Actually I wrote a help file for my latest application, (using some other tools, doesn't matter)
Now I have a compiled help file.
I can acess his help by pressing the F1 key anywhere in my applica... -
Posted by NetGert on 10 Dec 2001
I get lots of errors and warnings. I do it all like here is told. Please send me an example .RTF and .HPJ file so I can learn from them E-Mail: netgert@hot.ee
|