Convert from CHM to PDF just in seconds on Convertfiles.com. Upload the CHM file on Convertfiles.com, and select PDF as your output. Next, click on convert and the PDF file will be ready to download. Microsoft HTMLHelp is an online help authoring tool (Freeware). You can use it to develop and author online help for software applications or web sites. A wizard can convert an existing WinHelp (.hpj) project and will help you to create a new HTML Help project. Convert PDF to HTML, CHM, RTF, HLP, DOC, TXT PDF Converter Also See: PDF Export Kit by Intelligent Converters ABC Amber PDF Converter is a powerful tool which allows you to convert PDF to any document format (HTML, RTF, TXT Ansi, TXT Unicode, DOC, MCW, WPS, SAM, RFT, WS4, WS7, WRI, etc.) easily and quickly.
We were shipping .hlp files to customers when development was in VC++. The process to create it was as follows:
1. Create rtf file
2. Create new project in WinHelp and then compile to get .hlp file.
Now development has moved to .net and also I found that we can no longer open .hlp files in windows 7 or vista.
I wanted to know if there are any free command line tools using which we can convert these .hlp files to a .chm file ?
Also I wanted to know if there are any free command line tools to convert .rtf file to .chm ?
GuruCGuruC2 Answers
Keep in mind that CHM is compiled HTML, and not very related to html, so your main problem is conversion of rtf to html
I would try to convert RTF to HTML, but on a topic per file.
What you could try is to input the RTF into word and try to save as HTML, and then use a program/script to split out the various topics to individual files and fixup references.
Then compile the result with a CHM compiler (like MS htmlhelp workshop)
Marco van de VoortMarco van de VoortMicrosoft has a tool which can convert Win Help projects to HTML Help. It is called HTML Help Workshop. You can open the existing .hpj project file with it and choose the option to convert it to HTML Help project .hhp. You can then compile the .hhp project with the same tool to generate the .chm file.
There are however many shortcomings in the tool. It generates an HTML page for each page in the rtf file but the naming of these HTML pages is random causing future referencing to be difficult.
If you just have the .hlp file and not the original Win Help project files, you can use a decompiler to generate the .hpj and .rtf files first and then convert them using HTML Help Workshop.
I found the following link quite helpful:
EDIT: there are some 3rd party convertors and Help Authoring Tools (HATs) also available which may do the job better than HTML Help Workshop but most of them are not free.