By default, there is normally an option in the WebHelp Single Source Layout called Show Navigation Pane Link in Topics. This will display a Show button when you open a topic by itself. This will Show the TOC pane when clicked. This might be an acceptable work around for you, if it is currently turned off.
I haven't tried calling webhelp from a word macro, but two thing strike me about your path and could also be double-checked.
1. The part in front of the hash shows a different path to the path after the hash. (I'll assume the space in the second "Hel p" is not in your ini file.) I've highlighted the bit I'm referring to.
The BRANCH1 bit. This indicates that the individual page is being called from a different place than your help project page. This doesn't seem correct to me?
2. Assuming BRANCH1 shouldn't be in there, theoretically a relative link should be used like so:
Hope that helps,
Thank you for the very quick response.
The Show Navigation Pane Link in Topics is turned on. Yes, this is appearing at the top of each relevant help section. It is a work around, I was just hoping to get both panels to load.
In pasting the URL in my original question I attempted to edit it to make it fit and botched it. Here is the complete original URL:
in the *.ini file it now reads:
In light of your reply I have attempted to shorten the original it but still no good.
If I place the original URL into the *.ini file and then amend it by adding file:/// at the start of the URL the first panel now opens but not the context help - very frustrating.
The original URL works when launched from within a Word Document but from the toolbar via the *ini file.
Any further thoughts?
The only other thought I have is make sure all th slashes are the same way. Usually Windows is forgiving of it, but maybe not in this case? try them all \ and if that doesn't work then all /.
I hacked together this Word macro as a test (I assigned it as a toolbar button) without an ini file which worked for a project on one of my network drives (location changed to protect the innocent ). I'm not a programmer and don't know what I'm doing, so it's probably not pretty, but maybe it'll trigger some ideas in your developer.
Dim ie As SHDocVw.InternetExplorer
Set ie = CreateObject("InternetExplorer.Application")
ie.Visible = True
Additionally, Peter Grainge's site might help. He has a whole section devoted to calling webhelp, and possibly there is something in there dealing specifically with VBA, which I assume is what's being used.
That's about the end of my flailing around in the dark.
Thanks for your help and patience. I'll give it a go. Have a great weekend.