473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

How to create and use chm-file for online help?

Hello NG,

I am currently confronted with the task to equip a vs2005 project with
context sensitive online help (F1).
Reading through the MSDN-Library I found out about the "HelpProvider" class,
which lets me use a chm help file for this purpose.

My question now is, how can I generate a chm file which contains my help?
Is there a way, that I can for example write my Help with word (or some
other editor) and then use (what ever) tool to generate the chm file?

I would greatly appreciate any hints and/or links to get started on this
subject.

Regards
Rainer Queck
May 7 '07 #1
7 7520
Hi Rainer,

I searched the Internet and found a 3rd party tool--Txt2Htm2Chm, that
enables you to convert text files to Windows HTML Help Project and compile
the project to CHM file.

You may visit the following link to get this tool:

http://www.softany.com/txt2htm2chm/index.htm

Hope this helps.
Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

May 7 '07 #2
Hi Linda,

thanks for your efforts.
I took a look at your link, and it looks like a nice simple tool.
Unfortunately I need to implement graphics into my help too. Currently I am
looking at the "HTML Help Work Shop", but this looks like I have to provide
my help as html files.
Well I could get along with that, but I hope to find a more convenient tool.

Regards
Rainer
"Linda Liu [MSFT]" <v-****@online.microsoft.comschrieb im Newsbeitrag
news:pR**************@TK2MSFTNGHUB02.phx.gbl...
Hi Rainer,

I searched the Internet and found a 3rd party tool--Txt2Htm2Chm, that
enables you to convert text files to Windows HTML Help Project and compile
the project to CHM file.

You may visit the following link to get this tool:

http://www.softany.com/txt2htm2chm/index.htm

Hope this helps.
Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.


May 7 '07 #3
You can create your basic XML documentation inside the codefiles for your
project, using the XML Grammar that comes with Visual Studio.

If you want a convenient helper add-in, take a look at Roland Wieget's
"GhostDoc".

Then, you would use NDOC along with the HTML Help Workshop (download from
Microsoft) to compile this into your choice of outputs - CHM is one of them,
and HTML (Web) Help is another.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Rainer Queck" wrote:
Hello NG,

I am currently confronted with the task to equip a vs2005 project with
context sensitive online help (F1).
Reading through the MSDN-Library I found out about the "HelpProvider" class,
which lets me use a chm help file for this purpose.

My question now is, how can I generate a chm file which contains my help?
Is there a way, that I can for example write my Help with word (or some
other editor) and then use (what ever) tool to generate the chm file?

I would greatly appreciate any hints and/or links to get started on this
subject.

Regards
Rainer Queck
May 7 '07 #4
PS - the HTML Help output from NDoc provides you with Html Files you can add
images to and customize. Then you would import these files into HTML Help
Workshop, create your index and TOC, and compile to CHM with the images
included.

Also, there is a "for pay" utility called FARHTML which does all this
"automagically".
It's not very expensive.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Rainer Queck" wrote:
Hi Linda,

thanks for your efforts.
I took a look at your link, and it looks like a nice simple tool.
Unfortunately I need to implement graphics into my help too. Currently I am
looking at the "HTML Help Work Shop", but this looks like I have to provide
my help as html files.
Well I could get along with that, but I hope to find a more convenient tool.

Regards
Rainer
"Linda Liu [MSFT]" <v-****@online.microsoft.comschrieb im Newsbeitrag
news:pR**************@TK2MSFTNGHUB02.phx.gbl...
Hi Rainer,

I searched the Internet and found a 3rd party tool--Txt2Htm2Chm, that
enables you to convert text files to Windows HTML Help Project and compile
the project to CHM file.

You may visit the following link to get this tool:

http://www.softany.com/txt2htm2chm/index.htm

Hope this helps.
Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.


May 7 '07 #5
Hello Peter,
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comschrieb im
Newsbeitrag news:95**********************************@microsof t.com...
Also, there is a "for pay" utility called FARHTML which does all this
"automagically".
It's not very expensive.
Thanks for this link.
I have tried FARHTML and it looks good.

Currently I have on problem:
How can I get the right help topic selected?
I have added the HelpProvider class to my form, set the help name space, and
for testing placed controls, where I set the HelpKeyWord and HelpNavigator
(TableOfContents in this case) for each control. But when I press F1 on
either control the help opens, but it does not select the right topic.

What am I doing wrong there?

Regards
Rainer
May 7 '07 #6
How can I get the right help topic selected?

Set:
1. HelpKeyword property to HTML file name of the topic to be opened in
your compiled CHM file, e.g. myTopic.htm
2. HelpNavigator property to "Topic".

Don't forget to specify the absolute full path to the CHM file on
program startup. Otherwise your help wouldn't work on other machines.
Note that the system doesn't look in application's folder. Use something
like:
HelpProvider1.HelpNamespace = IO.Path.Combine(appPath, "myFile.chm");
--
Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
..NET and ASP .NET code
May 7 '07 #7
Hi Peter,

"Peter Macej" <pe***@helixoft.comschrieb im Newsbeitrag
news:eH*************@TK2MSFTNGP06.phx.gbl...
>How can I get the right help topic selected?

Set:
1. HelpKeyword property to HTML file name of the topic to be opened in
your compiled CHM file, e.g. myTopic.htm
2. HelpNavigator property to "Topic".
Great! Now it is working.
Don't forget to specify the absolute full path to the CHM file on
program startup. Otherwise your help wouldn't work on other machines. Note
that the system doesn't look in application's folder. Use something like:
HelpProvider1.HelpNamespace = IO.Path.Combine(appPath, "myFile.chm");
Thanks for this hint too.

Regards
Rainer
May 7 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Luca | last post by:
I'm looking for last Smarty chm file (english) but Smarty's site is down. Does anybody can send it to me by email please? Also a link should be enought... Thank you, Luca ps: to answer...
1
by: Alvaro G Vicario | last post by:
I really love the extended CHM format documentation. However, it apparently hasn't been updated since september 2003: http://www.php.net/docs-echm.php Does anyone know something about this?...
1
by: Robert Kattke | last post by:
Using: php_manual_en.chm on Windows XP I'm trying to keep a few notes from the manual in text files. And would love to select blurbs from the .chm Encouraged by the right-click menu option,...
2
by: Paramjit Oberoi | last post by:
Where can I download python documentation in CHM (windows help) format? I believe the windows installers come with it, but I'm on Linux and I use CHM for easier searching/navigation. The...
6
by: Wayfarer | last post by:
I Googled on Javascript CHM and came up with a couple of hits, but they were for dead links at http://developer.netscape.com/. I'd really like to have a handy Javascript CHM. Is there such a...
1
by: Sven Claasen | last post by:
As far as I know one could compile chm sources with the MS VisualStudio. Is there another (preferable freeware) software which let me compile chm source files? Sven
0
by: Sven Claasen | last post by:
Since I upgraded Internet Explorer to 6.0 it occurs that sometimes a CHM does not show a contents. It could be started resp. opened but the content pane is empty. Why? Is there an unknown old...
3
by: Ya Ya | last post by:
I have a folder with a lot of PDF and CHM files. I would like to develope an ASP.net application that enables the user to search inside the content of those files. How do I search inside those...
2
by: vbgunz | last post by:
Hello! this is the main error: http://img406.imageshack.us/img406/5218/screenshotxchmerror1ae.png navigation link images broken here:...
15
by: John Salerno | last post by:
Hi all. I apologize since this is only remotely Python related, but I hope someone might now the solution. I tried opening my Python chm docs just now, as well as the one for wxPython, and both...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.