ToolsAdvancedSettings Command Writes to WINWORD6.INI

Last reviewed: July 30, 1997
Article ID: Q110378
The information in this article applies to:
  • Microsoft Word for Windows, version 6.0
  • Microsoft Windows operating system versions 3.0 and 3.1

SYMPTOMS

If you use the ToolsAdvancedSettings to write to an .INI file, the information is written to the WINWORD6.INI by default unless another .INI file is specified in the .Application parameter.

RESOLUTION

To write to an .INI file other than WINWORD6.INI, specify the filename with the .Application parameter. For example, the following macro line writes to the WINWORD6.INI since no other .INI file is specified in the .Application parameter:

   ToolsAdvancedSettings .Application = "Doc2Help", .Option =
   "ThisIsATest", .Setting = "test"

The following example writes to the WIN.INI file:

   ToolsAdvancedSettings .Application = "Doc2Help (WIN.INI)", .Option=
   "ThisIsATest", .Setting = "test"

Kbcategory: kbusage kbmacro KBSubcategory:


Additional query words: 6.0 macros winword word6
Version : 6.0
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: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.