I think something is missing in the question. It's clear you understand the link has to be constructed as path/startpage.htm#path#target topic. Your question also suggests you may have seen Calling WebHelp on my site as you refer to a method described there.
You say you do not know how your users will click on links? Elaborate on that. Once they have opened the help, the call is no longer an issue as those links work within the help displayed. The problem is when they open the help a second time from your application. That is handled within the code in your call, don't ask me how.
Maybe you are talking about calling the help from somewhere else? As I said, it feels like a bit of information is missing.
See www.grainge.org for RoboHelp and Authoring tips
Thanks William, that worked just how I wanted it to. I knew show() was in there, but didn't realize I had to send a message. However though I am getting an error on topics with this script in IE. I'm thinking it might be the null parameter in the msg constructor. Is there a value to fix this error?
Webpage error details
Message: 'oParam' is null or not an object
Actually,I figured it out playing with some values. I simply replace the null argument in your instructions with a blank string "" and it worked perfectly. I believe the msgreceive function looks at the oparam argument regardless of the value. I was also debating whether or not I should have used a try catch statement too but the blank string worked as far as I can tell.
Weird, I receive no error on IE on my pc. But testing with IETester does produce the error message.
Ah wel, the empty string solves that. I've updated the article with your info. Thanks.