WD97: Opening a JPEG File in Photo Editor Causes an Error

Last reviewed: November 21, 1997
Article ID: Q166339
The information in this article applies to:
  • Microsoft Word 97 for Windows

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.

SYMPTOMS

When you open a JPEG file in Photo Editor, one of the following error messages may appear:

  • Unknown File Format

    -or-

  • Cannot open or find this file "<path>"

CAUSE

This error occurs when the Windows 95 registry is pointing to the wrong setting for the location of the Jpegimp32.flt graphic converter that is needed by Microsoft Photo Editor.

When you install both the Windows 95 Plus Package and Office 97, you will have two different Jpegim32.flt graphics converter files in two different locations on your computer.

The Windows 95 Plus program installs this file into the C:\Windows \MSAPPS\GRPHFLT folder with a size of 26 KB, while the Office 97 program installs the file into the C:\Program Files\Common Files\Microsoft Shared\Grphflt folder with a size of 168 KB.

The Microsoft Photo Editor needs to use the Jpegim32.flt file installed from the Office 97 installation within the C:\Program Files\Common Files\Microsoft Shared\Grphflt folder rather than the one from the Windows 95 Plus package.

RESOLUTION

For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

  1. Quit all programs.

  2. Click the Windows Start button and click Run. In the Open box, type "Regedit" (without the quotation marks), and then click OK.

  3. Go to the following Registry key:

          HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools
          \Graphic Filters\Import\JPEG
    

  4. Double-click the JPEG folder to open it.

  5. On the Registry menu, click Export Registry File, type a file name, and then click Save.

  6. On the right side of the Registry Editor, double-click the Word path to open the Edit String dialog box.

  7. Change the Value data information to:

          C:\Program Files\Common Files\Microsoft Shared\Grphflt\JPEGIM32.FLT
    

  8. Click OK.

  9. On the Registry menu, click Exit to close the Registry Editor.

MORE INFORMATION

The Microsoft Photo Editor is a standalone product that is installed by a complete install of Office 97. It allows you to customize graphic images you create, scan, or open.

For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q136393
   TITLE     : How to Modify the Windows Registry

   ARTICLE-ID: Q165812
   TITLE     : OFF97: Photo Editor not Installed Through the Valupack
Version           : 97
Platform          : WINDOWS


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.