chm

使用CHM文档 阅读随笔

偶尔善良 提交于 2019-12-19 09:49:49
原文 http://www.cnblogs.com/codealone/archive/2013/04/19/3029055.html 背景   我们在开发的过程中,常常都会想记录下来一些东西,可以成文的,则以随笔的形式发布,那些不能成文的,例如某bug的解决方案,或者开发中的注意事项,甚至是某个SQL语句,以只言片语的形式记录在文章、日记里,这样,自己就能在不同的设备、终端上查看自己记录的东西。   博客园的文章,如果不设置在首页显示的话,个人觉得查看起来不是很方便。想到自己曾做了一个 数据库CHM文档生成工具 ,于是,不管是随笔,还是文章,能否也通过CHM文档的形式查看呢。想到这里,我的需求就产生了。 效果预览 资源下载    可执行程序    示例CHM文档    源代码 开发思路   1.得到博客内容。之前想过通过url请求的方式获取到博客正文部分,但是后台的文章或日记处理起来相对麻烦,于是采用了博客备份得到的xml文件,按照xml文件结构,定义数据结构,读取xml数据。怎么读取,这里就不细讲,如有需要,移步至 《以读取博客园随笔备份为例 将xml 序列化成json,再序列化成对象》 。   2.遍历博客的博文,然后将博文的html内容,以html形式的存储。但是xml里存储的仅仅是博客的正文部分内容,整个页面显示框架是没有的。此时,我打开任意我的任意一篇博客

Which css versions are supported in chm files?

百般思念 提交于 2019-12-19 09:27:13
问题 I am writing a stylesheet to use with my Compiled Help files. It looks like CSS2 generally works, but I'm not sure about CSS selectors like > and + . Is the CHM format equivalent to, say, IE 7? fwiw, I am authoring on Windows 7 and IE9 is installed. 回答1: The HTML Help Viewer uses the layout engine components of Microsoft Internet Explorer (Shdocvw.dll hosting Mshtml.dll) to display Help topics. http://msdn.microsoft.com/en-us/library/aa189109%28v=office.10%29.aspx Which means: CSS version

Opening a CHM file produces: “navigation to the webpage was canceled”

冷暖自知 提交于 2019-12-17 15:24:26
问题 I am trying to open a .chm file. I downloaded the source, extracted it, and double clicked on Waffle.chm and clicked "Open" but no matter what element in the chm file I click, I get the message: Navigation to the webpage was canceled. What you can try: Retype the address. What's going on here? 回答1: Summary Microsoft Security Updates 896358 & 840315 block display of CHM file contents when opened from a network drive (or a UNC path). This is Windows' attempt to stop attack vectors for viruses

Integrate tooltips with CHM help in Windows app

纵然是瞬间 提交于 2019-12-13 16:02:54
问题 We're trying to redesign our documentation process for a Windows desktop application, and two of the requirements we have are Provide 'reference' help in a CHM format Provide tooltip help on individual controls Currently our tooltips are hard-coded into the Delphi/C++Builder forms, but I'd ideally like to avoid the duplication, and have the CHM file as the 'master' How can we display the Help information in the CHM file as tooltips when the user positions the mouse over certain controls? 来源:

Excel 2010 “Help on this function” does not launch HH.EXE with -mapid parameter

我的梦境 提交于 2019-12-13 10:44:17
问题 I am developing an Excel add-in with a CHM help file. The CHM has topics that I am trying to reach from Excel's "Insert Function" dialog. This is confirmed when I invoke HH.EXE as follows: HH.EXE -mapid 1234 "mk:@MSITSTORE:<path-to-my-chm-file>" I registered all of my UDFs with the Application.MacroOptions( ) function, passing the appropriate parameters (Macro, Category, HelpContextID and HelpFile). When I click the "Help on this function" link, HH.EXE is invoked with the correct path and

Microsoft HTML Help - Get the topic page URL from the topic ID

好久不见. 提交于 2019-12-13 04:01:23
问题 We're currently using HTML Help to display CHM help files in our software. We'd like to change how we're opening the help however, to open it in our own custom window with an embedded browser. Achieving this by directly requesting topic pages to be opened with URLs is straightforward enough, however, we'd like to maintain the usage of Topic IDs such that the editorial team can freely re-structure and re-name the help as they see fit, only by manipulating the maps and aliases. I've been

Open chm file in java

拜拜、爱过 提交于 2019-12-12 19:54:00
问题 I want to open a CHM (help) file from my java application... My code looks like this: Runtime.getRuntime().exec("hh.exe myhelpfile.chm"); It works, but how can I open it with a specific page?? Thanks, Tom 回答1: Try this, Is it possible to open a specific topic from the Hh.exe command line? http://msdn.microsoft.com/en-us/library/ms669980(VS.85).aspx#is_it_possible_to_open_a_specific_topic_from_the_hh.exe_command_line_ 回答2: String s; Process p; try { p = Runtime.getRuntime().exec("chmsee sample

Loading a 32-bit process in a 64-bit environment

北慕城南 提交于 2019-12-12 15:14:17
问题 I have a couple of questions as below. CHM is (Compiled HTML File) My CHM file has a link to launch a 32-bit application. The CHM file is coded in Javascript.This works fine in a 32-bit OS environment. But this does not work in a 64 bit OS environment.The reason being: When I open the chm file,64-bit version of hh.exe(an operating system executable) executes and launches the chm. And the chm gets loaded in a 64-bit environment. And now I cannot launch the 32 bit application from the CHM file,

WinForms: Load localized help (chm) files

岁酱吖の 提交于 2019-12-12 11:57:24
问题 What is the best way to load a locale-specific (i.e. translated) compiled help file (.chm)? Our install will deploy them alongside the satellite assemblies containing resources. I'd like to re-use the same probing rules the .NET framework uses to load the satellite assemblies, and I'd definitely like to avoid writing my own searching algorithm, because for example, I'd have to handle specific cases such as "zh-CN/zh-Hans/zh-CHS". I can't find anything with the System.Windows.Forms.Help class

XML Documentation Comments with Interfaces and implementing class(es) [closed]

天大地大妈咪最大 提交于 2019-12-12 10:38:19
问题 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 last year . I am documenting an assembly using XML Documentation Comments, from which a chm file will be created using Sandcastle. My assembly contains various interfaces, each of which is implemented by one class (in my scenario these are WCF services). I have added documentation to the