Re: HelpProvider bug? Close the .CHM window and application closes too! by Nate
Nate
Thu Jul 10 10:31:36 CDT 2003
Ha! typical huh... find your own solution in the end...
I was calling help.showhelp and passing in a string for the .CHM file. Doing
this will open the help file in a window, but Exiting from that window will
also exit the application.
using the Help provider namespace and passing that into the
help.showhelp(helpprovider1.helpnamespace) seemed to overcome this.
I hope this will be of help to anyone else who comes across this
"Nate" <nathanpocock@hotmail.com> wrote in message
news:uVq$GGuRDHA.3700@tk2msftngp13.phx.gbl...
> Has anybody else seen this?
>
> I have a Windows Forms application that simply uses the HelpProvider
control
> to open a .CHM. I use the helpprovider.show method and it works fine.
> However, when the Help window (*.chm) opens, if I quit (i.e. close) the
Help
> window, then it closes as expected, and so does my application! ??
>
> This isn't supposed to happen is it? how do I overcome this so that when I
> close the Help window, my application stays open and running?
>
> I am using VB.NET, with Visual Studio 2003 with all the latest .NET
> Framework revisions etc.
>
> Thank you.
>
>