Visual Studio Developer Center > Visual Studio Forums > Developer Documentation and Help System > Problem with HTML Help Workshop on Vista (version 4.74.8702.0)

Answered Problem with HTML Help Workshop on Vista (version 4.74.8702.0)

  • Thursday, December 13, 2007 7:46 PM
     
     

    After I get over a certain number of html files (about 15-20),  the .hhp will not save.  I get the message "cannot write to file xxx/xxxx/xxx.hhp".  I can edit the html, save and compile but if I make a change to the project settings (like add an index file),  the project will not save.

     

    When I copy the same project to XP, the problem does not occur.

Answers

  • Tuesday, April 29, 2008 10:02 AM
     
     Answered

     

    One more thing - after you set hhw.exe to run in compatibility mode, you'll probably need to reset the association with your .hhp files.

     

    It appears that the .hhp association with hhw.exe retains the pre-compatibility setting; if you right-click your .hhp file, go to Open With -> Choose Default Program, then re-select HTML Help Workshop, it will renew the association but with the new settings (i.e. compatibility).

     

    For me, everything appears to be back to normal now - I can open my .hhp (by double-clicking), make some changes and I get a clean compile and a good .chm. Including TOC's & Indeces, etc.

All Replies

  • Tuesday, February 12, 2008 8:19 PM
     
     
    I have over 28 files and it is working fine on vista. However, all my files are .mht, did you try to convert the files .mht and see if it works.

     

  • Friday, April 25, 2008 11:21 AM
     
     
    This can be due UAC enabled in Vista. Make sure you have write permissions in the folder you want to write to. If this does not help, right click HTML Workshop and choose Run as administrator.

     

  • Tuesday, April 29, 2008 9:08 AM
     
     

     

    I had the same problem - solved it by setting the compatibility setting on the program's properties to Windows XP SP2. (right click HTML Help Workshop - i.e. hhw.exe - select Properties, then Compatibility tab)

     

    I also hunted down a copy of itcc.dll, copied it to the system and registered it. (Appears to be required for HTML Help Workshop, but missing from Vista - see http://frogleg.mvps.org/helptechnologies/oldjunque/itircl.htm). The only thing is, I added the .dll before finding this thread and figuring out that it was a compatibility issue, so I don't know if the itcc.dll issue was actually a problem or not. Keep it in mind if you still get .dll-related errors after running priveleged or in XP compatibility.

  • Tuesday, April 29, 2008 10:02 AM
     
     Answered

     

    One more thing - after you set hhw.exe to run in compatibility mode, you'll probably need to reset the association with your .hhp files.

     

    It appears that the .hhp association with hhw.exe retains the pre-compatibility setting; if you right-click your .hhp file, go to Open With -> Choose Default Program, then re-select HTML Help Workshop, it will renew the association but with the new settings (i.e. compatibility).

     

    For me, everything appears to be back to normal now - I can open my .hhp (by double-clicking), make some changes and I get a clean compile and a good .chm. Including TOC's & Indeces, etc.