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?

    December 24, 2010

    If it's a 64 bit machine, you'll need to use the 32 bit edition of regsvr32.exe found in the counter-intuitively named \syswow64\ folder as the dll shipped with RH is a 32 bit dll.


    I have a 64-bit Windows 7 laptop.

    I entered the following commands:

    cd \windows\syswow64

    regsvr32 C:\Program Files (x86)\Adobe\Adobe RoboHelp 8\Redist\HHActiveX.dll

    The result was an error message: "...failed to load...module could not be found"

    I created a folder named "HHActiveX_location" on the C: drive and copied HHActiveX.dll to there.

    I entered the follwoing commands:

    cd \windows\syswow64

    regsvr32 C:\HHActiveX_location\HHActiveX.dll

    The result was an error message: "The module was loaded but the call to DllRegisterServer failed with error code 0x80070005"

    What am I doing wrong?