I don't want to seem too simplistic, but I've spent at least
2 hours trying to call webelp files from c#, without any luck at
all. All I ever get is three little beeps from my computer, and the
IE browser never shows up at all. Here is some background
information:
I read all the documentation, beginning to end.
(On WinHelp_4) I compiled up the CSH_CS (csharp version) project, and am able to call my simple RH WinHelp file (Dummy.chm) just fine, using a primary url of "c:\\Docs and Settings\\etc\\RoboHelp 6.0\\Dummy\\!SSL!\\WinHelp_4\\Dummy.hlp". A MapID = 1 is required in the CSH test dialog in order for my help file to load. This loads my help from the little CSH test dialog fine.
(On WebHelp) After getting the WinHelp_4 version to work, I switched the primary output to WebHelp in the SingleSource Layout section, and specified that RH should create a subdirectory (HTMLHelp) to store the WebHelp files. I regenerated the project, and successfully viewed the resulting web output using the View Results or the View Primary Layout on the RH toolbar. So I'm thinking my help files are ok. But..... I can't get the WebHelp to display from the CSH test dialog, no matter what I try.
Currently I am using roughly the same primary URL in the CSH c# project: "c:\\Docs and Settings\\etc\\RoboHelp 6.0\\Dummy\\HTMLHelp\\!SSL!\\WebHelp\\Dummy.htm". I do not append a window >main to end of the primary URL. It doesn't matter if I use a MapID of 1 or blank. It doesn't matter if I choose Context, Index, Search, etc. No matter what combination of things, the help file will not show. The file exists---if I double click the Dummy.htm file, the help file loads immediately in IE.
So my help files seem ok, and the CSH_CS code seems ok (at least it works with WinHelp_4). All I have changed is the path to my help file. (Oh, and I tried to point at an existing example *.htm in the RH Samples directory, with the same results---just a couple of little clicks from IE (presumably to say "There's an error somewhere").
Could anyone give me specific instructions on what I might try to solve the problem? I'd like to know the specific syntaxes for using windows, and MapIDs in my URL string too, if you know that. Here is what I think they are:
url = "Startpage.htm" - to load the whole help system
url = "Startpage.htm>main" - to display in a particular window
url = "Startpage.htm<id=2" - to display mapid 2
Thanks for your help
I read all the documentation, beginning to end.
(On WinHelp_4) I compiled up the CSH_CS (csharp version) project, and am able to call my simple RH WinHelp file (Dummy.chm) just fine, using a primary url of "c:\\Docs and Settings\\etc\\RoboHelp 6.0\\Dummy\\!SSL!\\WinHelp_4\\Dummy.hlp". A MapID = 1 is required in the CSH test dialog in order for my help file to load. This loads my help from the little CSH test dialog fine.
(On WebHelp) After getting the WinHelp_4 version to work, I switched the primary output to WebHelp in the SingleSource Layout section, and specified that RH should create a subdirectory (HTMLHelp) to store the WebHelp files. I regenerated the project, and successfully viewed the resulting web output using the View Results or the View Primary Layout on the RH toolbar. So I'm thinking my help files are ok. But..... I can't get the WebHelp to display from the CSH test dialog, no matter what I try.
Currently I am using roughly the same primary URL in the CSH c# project: "c:\\Docs and Settings\\etc\\RoboHelp 6.0\\Dummy\\HTMLHelp\\!SSL!\\WebHelp\\Dummy.htm". I do not append a window >main to end of the primary URL. It doesn't matter if I use a MapID of 1 or blank. It doesn't matter if I choose Context, Index, Search, etc. No matter what combination of things, the help file will not show. The file exists---if I double click the Dummy.htm file, the help file loads immediately in IE.
So my help files seem ok, and the CSH_CS code seems ok (at least it works with WinHelp_4). All I have changed is the path to my help file. (Oh, and I tried to point at an existing example *.htm in the RH Samples directory, with the same results---just a couple of little clicks from IE (presumably to say "There's an error somewhere").
Could anyone give me specific instructions on what I might try to solve the problem? I'd like to know the specific syntaxes for using windows, and MapIDs in my URL string too, if you know that. Here is what I think they are:
url = "Startpage.htm" - to load the whole help system
url = "Startpage.htm>main" - to display in a particular window
url = "Startpage.htm<id=2" - to display mapid 2
Thanks for your help