Integrating Microsoft Compiled HTML Help in MS Access 2007

Integrating Microsoft Compiled HTML Help in MS Access 2007 


I created a help file using CHM Editor for one of the MS Access 2007 computer programs that I recently developed. The editor is very easy to use and needs not to be an expert in web development to create an online help file. You need to know the basics of HTML to enable you to beautify your help file contents.

In my MS Access form, I created a button to activate the help file by using the Application.FollowHyperlink method instead of the ShellExecute function from the Windows API. Although the help file will be displayed upon clicking the button, MS Access displays a message

Some files can contain viruses or otherwise be harmful to your computer. It is important to be certain that this file is from a trustworthy source.
Do you want to open this file?
This is my first time using the Application.FollowHyperlink method so it was really a mess for me and I need to find ways to solve the problem.

I searched for possible solutions in the Microsoft support webpage http://support.microsoft.com/kb/925757 "How to enable or disable hyperlink warning messages in 2007 Office programs and in Office 2010 programs".




The following are the steps to disable the warning message:
  • Click Start, then type Run in the text box.
  • A dialog box will appear, type regedit and click OK.
  • In Registry Editor, locate the registry subkey for 2007 Office since that is my OS.
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common

    If your OS is Office 2010, locate the following registry subkey
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common
  • Right-click the registry subkey then click New, and then click Key.
  • Type Security, and press Enter.
  • Right-click Security, then click New, and then click DWORD (32-bit) Value.
  • Type DisableHyperlinkWarning, and press Enter.
  • Right-click DisableHyperlinkWarning and then click Modify.
  • A dialog box will open, type 1 under Value Data (0 to enable which is the default value).
  • Locate the following Registry subkey
    HKEY_CLASSES_ROOT\<CLSID>\EditFlags
    Note: 
    CLSID is a globally unique identifier that identifies a COM class object. In my case, I will locate chm.file as the CLSID.
  • If the EditFlags exists, rename it to OldEditFlags by right-clicking the file and click Rename.
    If you cannot find EditFlags in 
    HKEY_CLASSES_ROOT\chm.file\, right-click chm.file and click New, and then click DWORD (32-bit) Value.
  • Type EditFlags, and press Enter.
  • Right-click EditFlags and then click Modify.
  • A dialog box will open, type 10000 under Value Data (0 to enable which is the default value).
  • Click OK, and exit the Registry Editor.
That's all it goes. If you are not sure on how to use the Registry Editor, please don't try it yourself as you may accidentally delete registry keys which will, in turn, create chaos in your computer system.

Happy programming guys!

Post a Comment

2 Comments


  1. I want to give a big thanks to a great spell caster commonly known as DR TAKUTA for the great spiritual prayers he did in my life by bringing my ex-lover back to me after many months of breakup and loneliness. With this, I am convinced that you are sent to this word to rescue people from heartbreaks and also to help us get the solution to every relationship problem. for those of you out there who have one relationship problem or the other why not contact DR TAKUTA. that is the best place you can solve all your problems, including a lack of jobs and promotions, binding and marriage spells, divorce and attraction spells, anxiety and depression problems, good luck and lotto spells, fertility, and pregnancy spells, and also the business success and customer increase, winning court cases and many more. contact him at takutaspellalter@gmail.com or contact mobile contact +27788634102
















































    ReplyDelete
  2. I started on COPD Herbal treatment from Ultimate Life Clinic, the treatment worked incredibly for my lungs condition. I used the herbal treatment for almost 4 months, it reversed my COPD. My severe shortness of breath, dry cough, chest tightness gradually disappeared. Reach Ultimate Life Clinic via their website www.ultimatelifeclinic.com . I can breath much better and It feels comfortable!

    ReplyDelete