PC Review


Reply
Thread Tools Rate Thread

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

 
 
Rainer Queck
Guest
Posts: n/a
 
      7th May 2007
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


 
Reply With Quote
 
 
 
 
Linda Liu [MSFT]
Guest
Posts: n/a
 
      7th May 2007
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.

 
Reply With Quote
 
Rainer Queck
Guest
Posts: n/a
 
      7th May 2007
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-(E-Mail Removed)> schrieb im Newsbeitrag
news(E-Mail Removed)...
> 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.
>
>



 
Reply With Quote
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      7th May 2007
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
>
>
>

 
Reply With Quote
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      7th May 2007
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-(E-Mail Removed)> schrieb im Newsbeitrag
> news(E-Mail Removed)...
> > 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.
> >
> >

>
>
>

 
Reply With Quote
 
Rainer Queck
Guest
Posts: n/a
 
      7th May 2007
Hello Peter,


"Peter Bromberg [C# MVP]" <(E-Mail Removed)> schrieb im
Newsbeitrag news:95310E7B-A291-4195-BEAC-(E-Mail Removed)...
> 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


 
Reply With Quote
 
Peter Macej
Guest
Posts: n/a
 
      7th May 2007
> 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
 
Reply With Quote
 
Rainer Queck
Guest
Posts: n/a
 
      7th May 2007
Hi Peter,

"Peter Macej" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
>> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i create an online questionaire Mondy Microsoft Excel Misc 2 27th May 2010 11:24 PM
Online Degrees, Online Colleges and Universities, Online Courses andEducation, Online Distance Learning Migrate Expert Microsoft Access 0 12th Apr 2008 09:40 AM
how can i create online job application? =?Utf-8?B?VG9ueSB0aGUgdGlnZXI=?= Microsoft Access 0 27th Mar 2006 12:07 AM
HOW DO I CREATE AN ONLINE TEST ????? =?Utf-8?B?YmVjcw==?= Microsoft Frontpage 2 5th Aug 2004 03:48 PM
Create help files/Online help in .NET PK Microsoft Dot NET Framework 2 5th Dec 2003 07:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:04 PM.