CHM file with .NET

  • Thread starter Thread starter Fla
  • Start date Start date
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!
 
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.
 
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.
 
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.
 
Back
Top