How to Read .CHM file using C# 2005

G

Guest

hi I have made a CHM file and I have linked my .CHM file with the controls on
the Form in my application which is made in C# 2005. Its working fine . But I
want that if user presses 'F1' then when the help is opening i want the
contents of help file which is opening, so that I can get the content of a
help file in a string array which is opening.
Currently I am using "HTML help workshop 4.74" and VS2005(C#).
Can any one help me how to get the contents of a help file when help file is
requested by the user by pressing 'F1'.
If any one has got any idea how to implement this please lemme know.

Thanks in Advance
 
F

Frans Bouma [C# MVP]

quicklearner said:
hi I have made a CHM file and I have linked my .CHM file with the
controls on the Form in my application which is made in C# 2005. Its
working fine . But I want that if user presses 'F1' then when the
help is opening i want the contents of help file which is opening, so
that I can get the content of a help file in a string array which is
opening. Currently I am using "HTML help workshop 4.74" and
VS2005(C#). Can any one help me how to get the contents of a help
file when help file is requested by the user by pressing 'F1'.
If any one has got any idea how to implement this please lemme know.

The old trick used for these kind of things still works: simply
'execute' the .chm file using a system process start. Windows will then
do an 'open' of the file, and as it's not a .exe, it will run the
application associated with the extension, so it will open the chm
viewer. :)

FB


--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 
G

Guest

Thanx for u r concern.
Frans I m using MSAgent I want to narrate the content that is present in the
help file by MSAgent. For that I have made dummy application for MS agent it
is wrking fine. But I want that MSAgent should speak the content that is
present in the CHM file and to speak those contents we have to pass the text
to the agent so that agent can speak out the content in the help file.
For That i wanna know that how to get the contents of a help file before the
help file is opening.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top