Using followhyperlink in VBA to Topic_ID

This section is for programmers. Please use it for all discussons on interfacing help with your applications and related subjects.

Moderators: Alexander Halser, Michael Schwarzl

Post Reply
Leon Carpay
Posts: 1
Joined: Fri Feb 21, 2014 1:22 pm

Using followhyperlink in VBA to Topic_ID

Unread post by Leon Carpay »

hi, I'm trying to plug-in context sensitive help into an Access 2003 mde app (an easy way). Method 1 works OK but does not show the TOC (and is not advised in the H&M Helpfile). Method 2 does not work. It opens the TOC but not showing the Manual_Adjustments.htm page but the first page of the AppHelp-file.

Any ideas?

method 1 ==>> Application.FollowHyperlink "<some path>/Help/Manual_Adjustments.htm"
method 2 ==>> Application.FollowHyperlink "<some path>/Help/index.html?Manual_Adjustments.htm"

thanks, leon
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Using followhyperlink in VBA to Topic_ID

Unread post by Tim Green »

Hi Leon,

If your WebHelp is stored on a non-Windows web server you need to downcase all the HTML file names, because they are downcased in the output. (Linux and Unix web servers are case-sensitive, Windows isn't.) So if that is the problem this should work:

Code: Select all

"<some path>/Help/index.html?manual_adjustments.htm"
The other problem might be that JavaScript is not available in the environment where the WebHelp is being called. If it isn't, the index.html?topic.htm syntax won't work, because the URL parser need JavaScript. Similarly, you wouldn't be able to pull up the full UI from topic.htm by re-activating the redirect that does this, because that needs JavaScript as well. So basically your WebHelp needs to be on a web server (otherwise it won't be fully functional) and it needs JavaScript support active for the browser component.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply