Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. change html help files to windows help files

change html help files to windows help files

Scheduled Pinned Locked Moved C / C++ / MFC
c++javahtmldatabasehelp
3 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    includeh10
    wrote on last edited by
    #1

    our user asks us to develop a program which can dynamically change html help files to windows help files (*.hlp). html help files are in fixed format (similar to java help document). once he thinks a html page useful, he uses our program to input (open) the page, then output a *.hlp file which can be viewed as normal windows help file with contents, index and find. we prepare to use raw method: read the html page buffer then format it to *.hlp directly by c++. but it needs a lot of things to do - we even don't know the format of a *.hlp file. is there an easier way than our plan? thx. includeh10

    R I 2 Replies Last reply
    0
    • I includeh10

      our user asks us to develop a program which can dynamically change html help files to windows help files (*.hlp). html help files are in fixed format (similar to java help document). once he thinks a html page useful, he uses our program to input (open) the page, then output a *.hlp file which can be viewed as normal windows help file with contents, index and find. we prepare to use raw method: read the html page buffer then format it to *.hlp directly by c++. but it needs a lot of things to do - we even don't know the format of a *.hlp file. is there an easier way than our plan? thx. includeh10

      R Offline
      R Offline
      Roger Allen
      wrote on last edited by
      #2

      As your working with small html files it could be you could generate a small .hpj project and get help workshop to build it for you (see MSVC->Tools->Help workshop). There may be some issues in using the MS tool to do this. Roger Allen Sonork 100.10016 WHats brown and sticky? A stick or some smelly stuff!

      1 Reply Last reply
      0
      • I includeh10

        our user asks us to develop a program which can dynamically change html help files to windows help files (*.hlp). html help files are in fixed format (similar to java help document). once he thinks a html page useful, he uses our program to input (open) the page, then output a *.hlp file which can be viewed as normal windows help file with contents, index and find. we prepare to use raw method: read the html page buffer then format it to *.hlp directly by c++. but it needs a lot of things to do - we even don't know the format of a *.hlp file. is there an easier way than our plan? thx. includeh10

        I Offline
        I Offline
        Iain Clarke Warrior Programmer
        wrote on last edited by
        #3

        If you would be happy with the new help format (*.CHM), then as Roger Allen said you can "simply" create a HPJ file describing all the html / pic files you want to crunch together using the help compiler that came with VC++. If you really want the old style help (*.HLP) then I would recommeng going via rich text format. This is well documented (though don't ask me, I used Word 2.0 to save as RTF!) and may be easier for you to generate. You would still need to generate a contents file etc, so the CHM route should be easier. I presume you aren't making a help file from each individual html file... Good luck, Iain.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups