Home All Groups Group Topic Archive Search About
Author
27 Jun 2006 2:05 PM
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!

Author
27 Jun 2006 3:00 PM
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.

--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code
Author
27 Jun 2006 3:31 PM
Fla
Peter Macej ha scritto:

> > 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

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.

Show quote
> --
> Peter Macej
> Helixoft - http://www.vbdocman.com
> VBdocman - Automatic generator of technical documentation for VB, VB
> .NET and ASP .NET code
Author
27 Jun 2006 5:39 PM
Peter Macej
>> 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

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.



--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code

AddThis Social Bookmark Button