Microsoft KB Archive/298019

= OFFXP: Error Message: No Program Is Registered to Open This File =

Article ID: 298019

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition
 * Microsoft Excel 2002 Standard Edition
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft Word 2002 Standard Edition

-



This article was previously published under Q298019



For a Microsoft Office 2000 version of this article, see 224111.



SYMPTOMS
When you reference hyperlinks in Visual Basic for Applications, you may receive the following error message:

No program is registered to open this file.



CAUSE
This error message can occur for the following reasons:  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 that is 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 correctly registered in the Windows registry. </li></ul>

<div class="resolution_section">

RESOLUTION
To resolve this problem, you must write the correct file association. To do this, follow these steps:

Install the program that is needed to open this type of file. If the program is part of Office, follow these steps to write the correct file association information in the Windows registry: <ol> Close the program that you need to register.</li> Click Start and then click Run.</li> In the Open box, type the following

C:\Program Files\Microsoft Office\Office\ .exe /unregserver

where .exe represents the appropriate program file for the program that you need to register. If you installed Office to another location, use the correct path for your location.</li> Click Start and then click Run.</li> In the Open box, type the following

C:\Program Files\Microsoft Office\Office\ .exe /regserver

where .exe represents the appropriate program file for the program that you need to register.</li> Reinstall the program to correctly register the program in the Windows registry.</li></ol>

Additional query words: OFFXP prb

Keywords: kberrmsg kbprb KB298019

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.