CHM file with .NET

F

Fla

Hy!
I've got the following question in VB.NET.
How can I access to a particular topic of a CHM file generated by HTML
Help Workshop?
Some newsgroups/sites on web suggest to use CHM file for help-on-line
and the HTML files for accessing a particular topic; but I want to use
only the CHM file also for topic access, after having been generated
it, and I don't what to use the old HTML files any longer.
Do you know any suggestion in order to solve my problem? Any ideas?
Thanks!
 
P

Peter Macej

How can I access to a particular topic of a CHM file generated by HTML
Help Workshop?

What do you mean by accessing particular topic? Do you want to display
it? If so, use
System.Windows.Forms.Help.ShowHelp(Me, "myHelp.chm", "myTopic.htm")
where MyTopic.htm is html page compiled into CHM.
 
F

Fla

Peter Macej ha scritto:
What do you mean by accessing particular topic? Do you want to display
it? If so, use
Yes.

System.Windows.Forms.Help.ShowHelp(Me, "myHelp.chm", "myTopic.htm")
where MyTopic.htm is html page compiled into CHM.

The problem is that with this solution I need the original HTML
permantly present. I tried to cancelled HTML files, and I couldn't
access to the specified topic from VB.NET, despite the topic it's
compiled into CHM. But I could access to the topic if I opened the CHM
by my own, not from VB.NET.
How can I access to the topic from VB.NET without the old HTML files,
i.e. cancelling them? Is there any solution, like access to an entry
point?
Is there any trick for VB.NET?

Thanks.
 
P

Peter Macej

System.Windows.Forms.Help.ShowHelp(Me, "myHelp.chm", "myTopic.htm")
The problem is that with this solution I need the original HTML
permantly present. I tried to cancelled HTML files, and I couldn't
access to the specified topic from VB.NET, despite the topic it's

This is not true. It should work. You don't need original HTML files.
This is how we do it in our product. Does
System.Windows.Forms.Help.ShowHelp(Me, "myHelp.chm")
work for you? Maybe you didn't specify full path to the CHM in second
argument.
 

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

Similar Threads

html help files (chm) and .NET framework 2.0 1
Chm 1
Integrating with CHM File 2
impossible to view .chm file using Internet Explorer 1
.chm help files 5
Online help 2
Creating chm file using .Net 2
CHM Encoder 1

Top