Skip to main content
September 25, 2008
Question

Resource on Setting up C# .NET CSH

  • September 25, 2008
  • 5 replies
  • 2041 views
Hey folks,

We've got a C# .NET app that I'm doing the help system for, and I understand that CHM is the standard help delivery method for that kind of app. We're doing context-sensitive help, but RH's own help on CSH for C# .NET just provides some bits of code without explaining how they relate. The developer I'm working with has looked at it and doesn't know what to do with it. Does anyone know of some documentation out there that provides clear steps for setting up CSH in C# .NET? I'm using RH7. Thanks,

Ben
This topic has been closed for replies.

5 replies

December 12, 2008
Sorry I didn't respond, but I remembered this thread when Pete pointed to it from another one. Yes, it was happening that way, but now it's working. We're not really sure what changed, but we're fine now. Thanks for the input.
October 9, 2008
The developer has used the Help Provider mechanism and an API in Visual Studio 2008 to call the CHM and open the specific topic. He's able to bring up the index and search. The TOC is the default for the left pane. The only problem we're having now is that the TOC highlights the default topic rather than the actual topic that we're calling. Is there a way to get the TOC to sync automatically when the CHM opens?
Participating Frequently
October 10, 2008
Hi, Ben,

Does this happen in spite of the fact that you've applied the Auto Synchronize TOC property to your help window, so that the TOC should automatically synchronise with the currently displayed topic?

Pete
September 29, 2008
Thanks, guys.

Colum, the app is installed on the users' computers, so that's why I was thinking CHM was standard in this case. This is a new frontier for me, since I've been dealing with only Web apps so far.

Leon, we've talked about doing WebHelp, especially as an option if we couldn't get the CSH to work with CHM. If we go the WebHelp route, we may put the files on the customer department's network drive and use URLs.

Pete, I'll check out those links and report back.
Participating Frequently
September 26, 2008
Hi, Ben,

Here are some good resources on using .chm files with .NET applications.

Standard .NET methods (HelpProviders):

http://helpware.net/mshelp2/demo2/h1xNET.htm
http://msdn.microsoft.com/en-us/library/aa983560(VS.71).aspx
http://www.codeproject.com/dotnet/HelpIntegrationInDotNet.asp

Using unmanaged code to call the HTML Help API:

http://www.adobe.com/support/robohelp/htmlhelp.html
http://support.microsoft.com/?kbid=317406

Pete
RoboColum_n_
Legend
September 25, 2008
Hi Ben. If you google "Context Sensitive Help in C# .NET" you'll find some links that should help. BTW CHMs or web based help can be used. The decision is based on where the help resides rather than the application.
MergeThis
Inspiring
September 25, 2008
If you stick with WebHelp, you can simply set the calls to a url, instead of using the CSH API. Just name your topic identically to the app's form. See Peter Grainge's tutorial for more info.


Good luck,
Leon