Skip to main content
December 16, 2010
Question

How do I use a Robohelp 8 project in a C# 2008 application?

  • December 16, 2010
  • 1 reply
  • 3530 views

I have developed a simple Robohelp 8 Project with a few topics and a small Table of Contents and glossary.

My Robohelp program is a trial version.

How do I include it in a Microsoft Visual C# 2008 file?  I would like to click a button named "Help" that will launch the help file I created with Robohelp.

    This topic has been closed for replies.

    1 reply

    Willam van Weelden
    Inspiring
    December 16, 2010

    Hi,

    You build the call of the help in the application. RoboHelp provides you with standard API's you can use to call the help. Look in %RH Installation folder%CSH API\CS.NET

    If you are using WebHelp, be sure to check out: http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm

    Greet,

    Willam

    December 18, 2010

    One of my co-workers used Robohelp5 and, after the .chm file was generated, was able to use code in C# to open the .chm file. I understand that code and I am confident that if I had a .chm file I could launch help in a C# application.

    Does Robohelp 8 create .chm files? I was only able to find an .htm file after Generate Primary Layout button was clicked. If Robohelp8 does not use .chm files, how do I open a .htm file with C# code? Or can Robohelp8 convert a .htm file to a .chm file?

    Captiv8r
    Brainiac
    December 18, 2010

    I was successull in creating a .chm file.  I used this file in my C# code and was able to launch help from that C# file!

    When I viewed the .chm file, I noticed that the Glossary was not included. How do I get the Glossary to appear in the .chm file? I was able to see the Glossary in the .htm file.


    Hello again

    For CHM output there are a couple of things that need to happen. You need to edit the CHM Window definition and ensure you have enabled the Glossary.

    Click View > Pods > Project Set up and expand the Windows folder. There you will see any defined windows. Hopefully you see a CHM window there.


    If you don't see a CHM window, you will need to right-click and create one.

    When you edit the window properties you have an option that governs whether the Glossary tab is shown.

    Once you have all that set, you are nearly ready for action. You need to compile the new CHM. But even *THEN* you may still have issues.

    When your viewers view the CHM they may see the Glossary tab but may be blank. This is because the functionality of the Glossary is contained wthin another file named HHActiveX.dll. Anyone using your CHM will need this file to be present and registered with Windows. Your installation application should be able to handle properly registering the file. There is more in the help system for this.

    Cheers... Rick

    Helpful and Handy Links

    RoboHelp Wish Form/Bug Reporting Form

    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!

    Adobe Certified RoboHelp HTML Training

    SorcererStone Blog

    RoboHelp eBooks