OFF2000: Error Message "No program is registered to open this file."

ID: Q224111


The information in this article applies to:
  • Microsoft Office 2000


ERROR MESSAGE

When you reference hyperlinks in Visual Basic for Applications, the following error may occur:

No program is registered to open this file.
NOTE: Microsoft Office 2000 has built-in functionality that allows you to get more information about difficult-to-troubleshoot alerts or error messages. If you want to enable this functionality for this and other error messages in Microsoft Office 2000, please download the Microsoft Office 2000 Customizable Alerts file from the Microsoft Office Update Web site at the following address:
http://officeupdate.microsoft.com/2000/downloadDetails/alerts.htm
NOTE: If you reached this article by clicking the Web Info button in an error message, you already have Customizable Alerts enabled.


CAUSE

This error message occurs for one of the following reasons. See the "What to Try" section for the resolution that applies to your situation:

You are using one of the following Visual Basic for Applications methods:

Doc.FollowHyperlink
Hyperlink.Follow
Document.Reload
-and-
Windows is unable to find the program associated with the type of file specified in the hyperlink path. This can occur for one of the following possible reasons:
  • The program may not be installed.


  • Some of the necessary program file association information may be missing or damaged.


  • The program may not be properly registered in the Windows registry.



WHAT TO TRY

Write the Correct File Association

Install the program needed to open this type of file. If the program is part of Office, use the following steps to write the correct file association information in the Windows registry:
  1. Close the program you need to register.


  2. Click Start, and then click Run.


  3. In the Open box, type the following
    
       C:\Program Files\Microsoft Office\Office\<program>.exe /unregserver 
    where <program>.exe represents the appropriate program file for the program you need to register. If you have installed Office to another location, use the correct path for your location.


  4. Click Start, and then click Run.


  5. In the Open box, type the following
    
       C:\Program Files\Microsoft Office\Office\<program>.exe /regserver 
    where <program>.exe represents the appropriate program file for the program you need to register.


  6. Reinstall the program to properly register the program in the Windows registry.




Back to Top

Additional query words: OFF2000

Keywords : kbdta
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: July 7, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.