1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

[SOLVED] windows hlp file problem

Discussion in 'Earlier Versions of Windows' started by snarker, Jan 17, 2002.

Thread Status:
Not open for further replies.
Advertisement
  1. snarker

    snarker Thread Starter

    Joined:
    Apr 23, 2001
    Messages:
    13
    Some game programs I use have .hlp files accessable both from inside the program and from the start menu. Now whenever I try to access any one of the files, it always opens the same file - hlp for Prelude to Waterloo. Is there a default setting that may have been "hijacked" after installing that game, or a setting somewhere I can change so the hlp file will use the location(s) in the appropriate shortcut(s)?

    Thanks
     
  2. SavvyLady

    SavvyLady

    Joined:
    Oct 14, 2001
    Messages:
    2,218
    have you tried right clicking on the application icon & then going to properties to see if the help file is there in the folder?
     
  3. snarker

    snarker Thread Starter

    Joined:
    Apr 23, 2001
    Messages:
    13
    Yes, shortcuts all point to the proper folders. Just seems the program ignores the file location in the shortcut and defaults to the Prelude to Waterloo hlp file. I can then browse to the proper file, but it's tedious!:(
     
  4. Rollin' Rog

    Rollin' Rog

    Joined:
    Dec 9, 2000
    Messages:
    45,855
    On the properties pages of shortcut icons, there is both a "target" address and a "start in" location. The problem you describe can be caused by not having the address to the folder where the .hlp file is in the "start in" field. Just go to the folder where they are, highlight and copy the address bar, then paste it in the "start in" field.
     
  5. snarker

    snarker Thread Starter

    Joined:
    Apr 23, 2001
    Messages:
    13
    Thanks,

    The shortcuts are all ok, so that is not the issue. Wish it was!
     
  6. Mosaic1

    Mosaic1

    Joined:
    Aug 17, 2001
    Messages:
    7,486
    But when you find the correct help file it will open?
    I'm not sure. To start Please have a look at these two registry keys.
    HKEY_CLASSES_ROOT\chm.file
    And
    HKEY_CLASSES_ROOT\hlpfile

    Exprot them one at a time.
    click on chm.file and then go to the toolbar>registry>export registry file
    Export it to the desktop.
    Do the same for hlpfile
    Please post as attachments.
    At the bottom of the post reply page, you'll see ATTACH FILE
    Use the Browse button to browse to the reg file
    First, rename the file. It needs to have a .txt extension, not the .reg it will have.
    Post again and do the same for the second file. I would like to see them as they appear in your registry.

    thanks,
    Mo
     
  7. snarker

    snarker Thread Starter

    Joined:
    Apr 23, 2001
    Messages:
    13
    I have discovered the problem, I think. In the Windows registry there is a line that maps
    notes.hlp to the PTW folder. The other games also have notes.hlp in their directories, but no mapping in the registry. I'm tempted to just delete the line. I found it by following the registry path - hkey_local_machine -- software -- microsoft -- windows -- help. I'm guessing this overrides the default key, which would open 'notes.hlp' from the folder help was called in, and force it to open in the PTW folder. Any problems with deleting the line?
     
  8. Mosaic1

    Mosaic1

    Joined:
    Aug 17, 2001
    Messages:
    7,486
    Always a problem deleting anything in the registry. First, back up the entire key. Then go into the right pane and remove the entry.
    See if it makes a difference. If not, reboot. See if it takes effect. If not. Re enter the delete.

    I don't have any duplicates and cannot test your theory. Give it a try and see. Be careful.
     
  9. snarker

    snarker Thread Starter

    Joined:
    Apr 23, 2001
    Messages:
    13
    Deleting the reference to PTW in the registry worked. Help no longer reads only the notes.hlp file in the PTW folder, but reads it in the folder 'help' was called from.

    Thanks all, problem solved.
     
  10. Mosaic1

    Mosaic1

    Joined:
    Aug 17, 2001
    Messages:
    7,486
    snarker,
    Great. You fixed it. And your theory was on the money too. It must have done exactly what you thought it did. It took that file name and pointed to the one instance. Multiple instances of that name were being directed to the wrong file as a result.
    I am saving this post for future reference.
    Thanks for sharing it. Have a good one.

    Mo
     
  11. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/65261

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice