Home All Groups Group Topic Archive Search About

Add MS Help workshop file to windows project question

Author
28 Jun 2005 3:26 PM
BrianDH
Hi

I have created an MS Help Workshop Helpfile for a windows project. 
At the moment, I have placed a copy of that help file "_Help.chm" in the Bin
Dir of my project and reference it via the following code.
///
Dim p As New Process
        p.StartInfo.UseShellExecute = True
        p.StartInfo.FileName = Application.StartupPath() + "\_Help.chm"
        p.Start()
\\\
My Question:  If there a more compact or efficient way to add/use this in my
project?

Thanks

BrianDH

Author
28 Jun 2005 4:20 PM
Herfried K. Wagner [MVP]
Show quote Hide quote
"BrianDH" <Bria***@discussions.microsoft.com> schrieb:
> I have created an MS Help Workshop Helpfile for a windows project.
> At the moment, I have placed a copy of that help file "_Help.chm" in the
> Bin
> Dir of my project and reference it via the following code.
> ///
> Dim p As New Process
>        p.StartInfo.UseShellExecute = True
>        p.StartInfo.FileName = Application.StartupPath() + "\_Help.chm"
>        p.Start()
> \\\
> My Question:  If there a more compact or efficient way to add/use this in
> my
> project?

Take a look at the HelpProvider component (available in the toolbox).

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>