Hello, I'd like to use a .chm file as an embedded resource. Is there a way to do this and also use it as the HelpNamespace of a HelpProvider? Thanks! Keith
The question has asked in the past as well. No one has achieved this as far as I know. Rob -- Rob Chandler MS Help MVP http://helpware.net/FAR/ http://mshelpwiki.com/ "Keith" wrote in message news:uo3380AhFHA.2424@TK2MSFTNGP09.phx.gbl... > Hello, > > I'd like to use a .chm file as an embedded resource. Is there a way to do > this and also use it as the HelpNamespace of a HelpProvider? > > Thanks! > > Keith >
You can store HTML files as windows resource (not as .NET embedded resource) and access it using res protocol. For example res://C:\WINDOWS\System32\shdoclc.dll/dnserror.htm. I guess it is possible to store the chm file just the same way and set HelpNamespace to res://<FullPathToYourExeOrDll>/<NameOfTheResource> I did not try it and that is why I am not sure. You may also consider saving CHM file on disk from embedded resource when your program starts. Good Luck, Max "Keith" wrote in message news:uo3380AhFHA.2424@TK2MSFTNGP09.phx.gbl... > Hello, > > I'd like to use a .chm file as an embedded resource. Is there a way to do > this and also use it as the HelpNamespace of a HelpProvider? > > Thanks! > > Keith > >