chm

How can I open a help file (chm or so) from my GUI developed in VC++ 2008?

若如初见. 提交于 2019-12-24 03:00:16
问题 I'm trying to add some help to my GUI developed in VC++ 2008. I want to compile a chm file, or a hlp file that can be accessed from my menu. Anyone can give me any idea about how to do this? Thanks a lot 回答1: Under HKLM\Software\Microsoft\Windows\HTMLHelp , create an entry named help.chm value C:\path to\help file.chm Then to open the chm at a particular topic call HtmlHelp(m_hWnd, "Help.chm", HH_DISPLAY_TOPIC, NULL); 回答2: You could just ShellExecute the .chm file. That will open it.

Possible work around for HTMLHelp loading the wrong CHM file?

淺唱寂寞╮ 提交于 2019-12-24 01:54:27
问题 I've apparently run into this bug in HTMLHelp, from 2001. (They haven't fixed it yet, but at least they documented it.) "BUG: HTMLHelp() Opens the Wrong Help File" http://support.microsoft.com/kb/267962/en-us Their suggested "fix" is for me to rename my CHM files. But I really don't want to do that. There's more about it here: "The Same CHM Opens Bug" http://kb.helpwaregroup.com/ms-html-help/hh-faq#TOC-The-Same-CHM-Opens-Bug "The easiest fix is to call FreeLibrary() then LoadLibrary() on the

open specific part of table of contents of chm file c# or vb.net

亡梦爱人 提交于 2019-12-23 12:15:03
问题 I have a .chm file called help, In that file I have a structure like: Introduction -item1 -item2 Topic1 -item1 -item2 Topic2 -item1 -item2 Topic3 Now I want to open Topic1 inside c# or vb.net I have tried: Help.ShowHelp(ParentForm, "Help.chm", HelpNavigator.Index, "Topic1") Help.ShowHelp(ParentForm, "Help.chm", HelpNavigator.TableOfContents, "Topic1") Help.ShowHelp(ParentForm, "Help.chm", HelpNavigator.Topic, "Topic1") Help.ShowHelp(ParentForm, "Help.chm", HelpNavigator.KeywordIndex, "Topic1"

Embedding images in CHM help file with Sandcastles

爷,独闯天下 提交于 2019-12-23 09:10:02
问题 I am using Sandcastles to generate a CHM help file for my project. I want a standalone CHM file that I can distribute, preferably on its own. The issue I have is that to embed images it appears that the image needs to exist on the user's system separately from the CHM file. When I view the source of my CHM file, it looks like: <img src="C:\Users\me\Pictures\wave.jpg" /> So if I email my CHM file to someone and they do not have this image, it will fail. An alternative would be to do: <img src=

C# Writing a chm viewer [closed]

纵饮孤独 提交于 2019-12-23 06:29:42
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I want to write CHM viewer in C#. What resources/information could help me do that? 回答1: I have written a chm viewer, in C++, as part of SumatraPDF (http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html). It's open-source so you could port the code to C# (http://code

C# Writing a chm viewer [closed]

泪湿孤枕 提交于 2019-12-23 06:28:05
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I want to write CHM viewer in C#. What resources/information could help me do that? 回答1: I have written a chm viewer, in C++, as part of SumatraPDF (http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html). It's open-source so you could port the code to C# (http://code

How can I create .chm files from C# code?

浪尽此生 提交于 2019-12-22 04:54:18
问题 I used doxygen to create HTML files, now I want to convert that documentation into .chm format. How can I do this? 回答1: NDoc is a dead project, it's successor is Sandcastle & Sandcastle Helpfile Builder. I've used both of the Sandcastle items. They're easy to setup, have decent documentation and chm file generation is native to the application. If you can switch, it would be a much better choice than doxygen. Otherwise check out this link for HTML to chm info: http://younsi.blogspot.com/2007

Use Lua To Open .chm At Defined Index Page

扶醉桌前 提交于 2019-12-22 01:23:02
问题 I wish to open a specific page within a .chm file from lua, but can not find any resources that would instruct me as to how how this task may be accomplished. If someone could provide some code that would open an index page named "Test2" in a file named "TestFile.chm" from lua I would greatly appreciate it. Thank you very much :) 回答1: There are two separate problems here. First, how to open a CHM file at all from Lua, and second, how to open it at a specific page. The first is straightforward

编写帮助文档经验总结

泄露秘密 提交于 2019-12-20 20:33:08
自从编程脱离了刀耕火种的时代以来,文档就是程序的重要组成部分。而且各种名目的文档无所不有。对于写代码出身的人来说,往往相当不重视文档的编写。但是不幸的是,作为软件支持的重要组成部分,很多时候,文档却能影响软件产品的成败。 笔者一个月写帮助文档的经历实在是感触颇多,总结出来希望能给大家一些帮助。入门水平,特为没有写过文档而又计划写文档而准备。 如无特别说明,下面的文档特指 CHM 类型的帮助文档。不是 Java 的那种可以生成的 API 帮助文档,而是指用户手册。与 Sandcastle 等不是一回事。 一. 人员配备 做事第一步,就是要选人。无数的书已经介绍过选正确的人的重要性,这里就不赘述了。大约需要三种实际做事儿的人。 1. 文档编写者:实际编写文档内容的人。如果资金和时间都比较充足可以由专门的人员来做。能做出高品质的文档。但是这种情况在广大的中小项目中比较少。多种情况下,编写文档的人会是程序的设计或开发大员。他们熟悉项目,省去了培训的成本,但是工作性质的不同决定了他们一开始写出的文档品质相当的不高。对项目的过度熟悉让他们潜意识地觉得文档没有什么内容好写。 2. 文档审查:负责文档的内容正确性,用语准确、简洁。说白了就是英语文档的语法、词汇检查。同时也许要负责文档基本样式的定制和进度的安排。不要以为英文文档才需要,就是中文文档,不同人写出来的风格也不一样

Add and get CHM file version

旧城冷巷雨未停 提交于 2019-12-19 10:08:25
问题 I need to add version info and retrieve it from the CHM file to make it possible to make an alert message to a user about a new CHM-file version available and downloaded. It means, that I should compare versions of CHM on different machines (Server and clients). The other way is date and time checking, but I should remember about time zones, so this is complicated, because also one should remember about different file systems, according to Windows SDK help about SetFileTime function and