views:

82

answers:

2

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?

+1  A: 

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

Cory Charlton
Downvotes without comment aren't particularly useful. Please let me know where I went wrong and how I can improve :-)
Cory Charlton
I didn't down vote you.
flipdoubt
@flipdoubt: Sorry if it seemed like I was directing that at you. Someone did but I don't assume to know who.
Cory Charlton
+1  A: 

The topics are roughly equal to the html files.

See http://stackoverflow.com/questions/2004156/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.

Marco van de Voort