Microsoft KB Archive/150039

= Works Error Message: Application Not Available =

Article ID: 150039

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Works 4.5 Standard Edition
 * Microsoft Works 4.5a
 * Microsoft Works 4.0 Standard Edition
 * Microsoft Works 4.0a
 * Microsoft Works 2000 Standard Edition
 * Microsoft Works Suite 2000

-



This article was previously published under Q150039



SYMPTOMS
When you attempt to insert an object, such as a WordArt or Note-It object, into a document in Microsoft Works for Windows version 4.0 or later, you may receive the following error message:

Application not available.

The object was created with an application that is no longer available or not properly installed.



CAUSE
This behavior can occur if the registry entries for the object class are missing or incorrect.

This behavior can also occur in Works 4.x if the Mfc40.dll file is missing.



RESOLUTION
To resolve this issue, use the following methods in the order in which they are presented.

Verify that the Mfc40.dll File Is Installed
If you are running Works 4.0 or Works 4.5, verify that the Mfc40.dll file is installed in the \ \System folder:  Click Start, point to Find, and then click Files or Folders. In the Named box, type mfc40.dll . In the Look in box, click the hard disk on which Microsoft Windows is installed, and then click Find Now. If the Mfc40.dll file in the list of found files is installed in the \ \System folder, proceed to the next method.

If the Mfc40.dll file in the list of found files is not installed in the \ \System folder, or if the Mfc40.dll file is missing, proceed to the next step. Insert the Microsoft Works CD-ROM into the CD-ROM drive. Press and hold down the SHIFT key as you insert the CD-ROM to prevent the program from starting automatically. Click Start, and then click Run.</li> In the Open box, type the following line, and then click OK



where  is the drive letter of your CD-ROM drive.</li> Right-click the Mfc40.dll file, and then click Copy.</li> Click Start, and then click Run.</li> In the Open box, type the following line, and then click OK



where  is the drive letter of the hard disk on which Windows is installed, and   is the folder in which Windows is installed.</li> On the Edit menu, click Paste.</li> Close all open windows.</li></ol>

If the issue continues to occur, proceed to the next method.

Re-registering a Shared Component
A shared component is a program that is shared by other programs and cannot be run outside of the host program. Microsoft WordArt, Microsoft Draw, and Microsoft ClipArt Gallery are all shared components.

You can re-register most 32-bit shared components by running the executable file for the componenent. However, you cannot use this method to re-register Microsoft Note-it or Microsoft Equations Editor version 3.01. Microsoft Note-it is a 16-bit shared component installed by Works for Windows, and Microsoft Equations Editor version 3.01 is a 32-bit shared component installed by Microsoft Works 2000. To re-register these components, proceed to the "Remove and Reinstall Works" method later in this article.

To re-register one of the following 32-bit shared components
 * Microsoft ClipArt Gallery, version 2.0
 * Microsoft Draw, version 1.01
 * Microsoft WordArt, versions 2.51, 3.0
 * Microsoft Equations Editor, version 2.1

run the executable (.exe) file for the shared component that you want to re-register. To do this: <ol> Quit Microsoft Works, if it is running.</li> Click Start, and then click Run.</li> In the Open box, type the following line (inluding the quotation marks), and then click OK

" :\program files\common files\microsoft shared"

where  is the drive letter of the hard disk on which Microsoft Windows is installed.</li> On the View menu or Tools menu, click Options or Folder Options.</li> Click the View tab, click to clear the Hide MS-DOS file extensions for file types that are registered check box, and then click OK.</li> Double-click the folder for the component you want to re-register, and then double-click the executable file for the component.

The following table lists the folder and executable file for each self-registering shared component installed by Works 4.x or later. </li> When you receive a message stating that the component is now re-gistered to run on your computer or that the component must be started from within another application, click OK.</li> Close all open windows.</li></ol>

If the issue continues to occur, proceed to the next method.

Remove and Reinstall Works
To remove and reinstall Works: <ol> Click Start, point to Settings, and then click Control Panel.</li> Double-click Add/Remove Programs.</li> <li> Follow the appropriate steps for your version of Works:

Works 2000
<ol style="list-style-type: lower-alpha;"> <li>Click Microsoft Works 2000, and then click Add/Remove.</li> <li>Click Next.</li> <li>Click Remove, and then click Next.</li> <li>When you are prompted to keep the Calendar Appointment database, click Yes or No, and then click Next.</li> <li>Click Remove, and then click Finish.</li> <li>Restart the computer.</li> <li>Reinstall Works 2000.</li></ol>

Works 4.x
<ol style="list-style-type: lower-alpha;"> <li>Click Start, point to Programs, point to Microsoft Works, and then click Microsoft Works Setup.</li> <li>Click Add/Remove.</li> <li>Click to clear the Program Files check box.</li> <li>Click to highlight Accessories, and then click Change Option.</li> <li>Click to clear the check boxes for the component(s) that you want to reinstall, and then click OK.</li> <li>Click Continue, and then click Yes.</li> <li>If you are prompted to remove the shared component(s), click Remove All.</li> <li>Click OK.</li> <li>Repeat these steps to reinstall the component(s).

In step c, click to select the Program Files check box, and in step e, click to select the check boxes for the component(s) that you want to reinstall.</li></ol> </li></ol>

If the issue continues to occur with the Note-It shared component, you may need to remove a registry key for Note-It between steps 8 and 9 in the Works 4.x method, above. Contact Microsoft Technical Support for assistance.

<div class="moreinformation_section">

MORE INFORMATION
To remove the registry entries for the shared components, you must remove the Works program files as well as the shared components.

For additional information about removing shared components, click the article number below to view the article in the Microsoft Knowledge Base:

135575 Works: Maintenance Mode Setup Doesn't Remove Shared Components

Additional query words: 4.00 4.00a 4.50 4.50a w_works works2k works2000 clip word art clip-art word-art

Keywords: kbprb KB150039

-

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

© Microsoft Corporation. All rights reserved.