I'm getting empty topics in generated CHM, how can I fix it?

This happens when you open CHM from network location and try to open any topic, you get "Action canceled" error page.

The HTML Help viewer has canceled the display of the help file due to security restrictions. This will happen with all HTML Help files that you open over a network connection (note, that local HTML Help files will not be affected). This behavior is caused by Windows security update 896358, see http://support.microsoft.com/kb/896358 for more details.

Solutions

Use free utility HHReg which fixes this new limitation by explicitly registering the help file in the Windows registry. You can get it from http://www.ec-software.com/products_hhreg.html. You can call Hhreg.exe directly from the template to register CHM on your computer. Open your CHM template in text editor and find a line containing call to hhc.exe in $vbdoc-exec-after$ macro. It ends like:

hhc.exe" "$OUTPUT-PATH$\$PROJECT-NAME$$PROJECT-EXT$"

Add call to Hhreg.exe somewhere after it. If you have installed Hhreg.exe to c:\myfolder then it should be as follows:

I have been using VSdocman to provide C# .NET API integrated documentation for our customers for the past 7 years. Keeping up with Microsoft's Visual Studio version changes can be challenging for developers, but VSdocman has continued to provide excellent functionality that meet our requirements to satisfy internal and external users. This company also provides immediate excellent customer support when issues or confusion occur.