Microsoft InfoPath 2010
The official blog of the Microsoft InfoPath team

Using CHM files in InfoPath custom task pane

Using CHM files in InfoPath custom task pane

  • Comments 1

CHM files are compiled Microsoft® HTML Help files suited for a wide range but mostly used as help files for applications. You can also use them inside the InfoPath task pane because they are URL accessible. There are many formats for the URLs as described in the link below. One of the formats is:

 

mk:@MSITStore:<path to CHM file>::<path inside CHM file>

 

You can enter an absolute path to the CHM file, for instance on a share or on the file system, but you can also include the CHM file as a resource in your form and access it by just using the filename as the path to the CHM file. The path inside the CHM file depends on the CHM file itself.

 

How to find the link from a CHM file

 

If you have an existing CHM file, you can easily find the hyperlink to a given page by right-clicking on the page and selecting properties. Note that the URL usually overflows and you can only see two lines, so to get the full URL you must click in the ‘Address (URL)’ field and select all text (Ctrl + A) and then copy-paste the link. For example the link to the first page in the Microsoft Office InfoPath 2003 help file is:

 

mk:@MSITStore:C:\Program%20Files\Microsoft%20Office\OFFICE11\1033\INFMAIN.CHM::/html/inconIntroInfoPath.htm

 

Links

 

INFO: HTML Help URL Protocols

http://support.microsoft.com/default.aspx?scid=kb;en-us;235226

 

Microsoft HTML Help 1.4 SDK

http://msdn.microsoft.com/library/en-us/htmlhelp/html/vsconHH1Start.asp

Leave a Comment
  • Please add 8 and 8 and type the answer here:
  • Post
  • You guys have a great site with much resources. I find it disappointing when I search for InfoPath 2010 specifically and a post from this site comes up. The title is deceiving. the date of this article is 2004, and most likely is related to InfoPath 2003. The title should reflect this

Page 1 of 1 (1 items)