Microsoft KB Archive/145513

= Gram32.ini Created on desktop when Customizing Grammar =

Article ID: 145513

Article Last Modified on 8/17/2005

-

APPLIES TO

 Microsoft Word 95 Standard Edition, when used with:  Microsoft Windows 95

 Microsoft Windows NT 4.0  Microsoft Word 95a, when used with:  Microsoft Windows 95

 Microsoft Windows NT 4.0</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q145513

<div class="notice_section">

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.

<div class="symptoms_section">

SYMPTOMS
When you customize Word's grammar settings, a Gram32.ini file is created on the desktop of the two platforms listed above.

NOTE: Word for Windows 95 running on Windows NT, version 3.51 will create the Gram32.ini file in the \Winword folder.

<div class="workaround_section">

WORKAROUND
The Gram32.ini can be moved to the Word for Windows program folder (for example, \Msoffice\Winword). This will allow the settings to be retained and modified without re-creating a .ini file on the desktop.

<div class="moreinformation_section">

MORE INFORMATION
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.

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.

Word for Windows 95 stores the custom grammar settings in the Gram32.ini file. This file is not copied during installation and does not exist until a change has been made to the default Grammar settings. Once the change is made, the Gram32.ini file is created on the Windows desktop.

If the Gram32.ini file is moved to the \Winword folder, Word will locate the file and will not create another one on the Windows desktop. The location of the Gram32.ini is written to the Data key in the Registry. If the Data key is removed, the Grammar Options will be reset to the default. Once the Grammar Options are modified, then the Gram32.ini will once again be written to the Windows desktop.

The location of the Data key in the Windows Registry is as follows: <pre class="fixed_text">  HKEY_CURRENT_USER\Software\Microsoft\Word\7.0\Data To edit the Windows Registry, use the following steps: <ol> Click Run on the Start menu.</li> On the Open line, type REGEDIT and click OK.</li>  Select the + signs to the left of the following folders (keys): <pre class="fixed_text">  +HKEY_CURRENT_USER +Software + Microsoft +Word +7.0                       </li> Select the Data folder (key) and choose Delete from the Edit menu.</li> Click Exit on the Registry menu.</li></ol>

Changes to the Grammar settings must be made through Word using the following procedure:
 * 1) Start Word.
 * 2) On the Tools menu, click Options. Select the Grammar tab.
 * 3) Click the Customize button and make any changes.
 * 4) Click OK to exit the Grammar Options dialog. These changes will be written to the Windows Registry Word Data key.

Additional query words: word95 proof custom

Keywords: KB145513

-

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

© Microsoft Corporation. All rights reserved.