Skip to main content
Participating Frequently
May 5, 2009
Answered

Link to a specific topic in a chm file from Word

  • May 5, 2009
  • 2 replies
  • 3753 views

Hi,

How do I link to a specific topic in a chm file from Word? I can link to the chm but can't work out how to get it to open to a specific page. I have tried #filename and \filename at the end of the path but neither works.

Thanks for any assistance.


Emily

This topic has been closed for replies.
Correct answer Amebr-ke0mH4

I didn't find your reply helpful or friendly Leon.

You know nothing about me or my organisation.

I have been using both N drive (which everyone in the office has access to) and my C drive to test how to do this so I can inform people how to go about it. I can't get it to work. I can open the chm from either drive, not just a specific topic.

I am well aware that the security restrcitions are real as I have dealt with these for both internal and external clients.

I will be informing anyone who wants to link from a Word document to a specifc topic that it can be done, however I personally have not been able to get it to work.


Perhaps see if this is any help. You might need the ms-its: or mk@MSITStore: syntax. Although I think I remember reading somewhere that by design this opens the single topic in a browser window, rather than the HTMLHelp Viewer.

http://www.helpware.net/htmlhelp/linktochm.htm

2 replies

Participating Frequently
May 7, 2009

Hi, Emily,

I've had good results by using Paul O'Rear's HelpAPI VBA module to pass Help calls from a Word document to a .chm file. Using this module, you can pass context integers, topic file names, index entries, and more to the .chm file.

http://www.helpfulsolutions.com

Pete

Captiv8r
Legend
May 5, 2009
Em0606Author
Participating Frequently
May 6, 2009

Hi Rick,

Thanks for responding.

I must be doing something wrong, as I still can't get it to work.

This is the full path copied from the .chmis: N:\TEAM\Docteam\Working_Help\HiPort3\b111all.chm::\b111all\OptionalModules.htm

When I put this path in the Address field of the Hyperlink window in Word, the link does not work.

What do I need to change?

Thanks

Emily

Em0606Author
Participating Frequently
May 6, 2009

You might have misunderstood the network issue.

First, the "N:" indicates a network drive mapping ID specific to your machine (File > My Computer > Map Network Drive).

If another user has no access to the same network, with the identical drive mapping, how can their machine access that link?

Second, the MS Windows security restrictions on .chm files are very real.

Third, when your users learn that your explanation is contrived, at best (and they will eventually), your organization's credibility will take a serious hit.

Good luck,

Leon


I didn't find your reply helpful or friendly Leon.

You know nothing about me or my organisation.

I have been using both N drive (which everyone in the office has access to) and my C drive to test how to do this so I can inform people how to go about it. I can't get it to work. I can open the chm from either drive, not just a specific topic.

I am well aware that the security restrcitions are real as I have dealt with these for both internal and external clients.

I will be informing anyone who wants to link from a Word document to a specifc topic that it can be done, however I personally have not been able to get it to work.