Question

I have inherited both an existing WinForms app and an existing .CHM file, created using Dr. Explain. I need to reference different topics within the CHM from different parts of my WinForms app, but I don't know what topics, if any, are defined within the CHM. Is there a tool that lists all existing topics that I can reference using the System.Windows.Form.Help class? If there are no topics or I need to add a new one (let's say I want to add a topic named "TwainScanning" to existing content within the .CHM), is there a tool for that? I could ask the author to add some, but she is not very technical and I need to explain my request very carefully. Exactly what do I ask her to do?

Was it helpful?

Solution

The topics are roughly equal to the html files.

See How to check if a subfile exists in a chm file?

how to get a list of the html files in the archive.

Aside from this, there is a TOC and an INDEX that also have topics. (and these can refer to anchors too). They are usually encoded in the chm file as .hhc and .hhk files, which you can extract from the CHM using an extracter.

Modifying a file without the tool it was made with (the exact chm compiler project files etc) is hard.

OTHER TIPS

The HelpProvider will allow you to access specific parts of the help file. Not sure about your other questions though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top