Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/102499

From BetaArchive Wiki



WordBasic Error 62: "Input Past End of File Using MEMO2.DOT"

Last reviewed: July 30, 1997
Article ID: Q102499



The information in this article applies to:

  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c
  • Microsoft Windows operating system versions 3.0 and 3.1

SYMPTOMS

When you create a document based on the MEMO2 template supplied with Word for Windows, the following error message may occur if the MEMO2.INI file is incorrect:

   WordBasic Error 62: Input past end of file.

CAUSE

This error occurs if the number at the beginning of the MEMO2.INI file is greater than the number of addressees in the file. By contrast, if the number at the beginning of the file is less than the number of addressees in the file, no error occurs, but only the number of addressees specified are available for you to select in your memo. For example, if MEMO2.INI contains four addresses, but the number at the beginning of the file is 2, only two addressees are available for you to add to your memo.

RESOLUTION

If WordBasic Error 62 occurs, do one of the following:

  • Open the MEMO2.INI file in a text editor, such as Windows Notepad, and change the number at the beginning of the file so it matches the number of address entries in the file.

    Note: Be sure to retain the leading space on the first line.

    -or-

  • Delete the MEMO2.INI file. This solution deletes your old address list, so you must re-create the list.

For more information on locating the MEMO2.INI file, query on the following words in the Microsoft Knowledge Base:

   memo2.ini and how and find

MORE INFORMATION

The MEMO2 template stores addresses in a text file called MEMO2.INI. The first line of the MEMO2.INI file contains a space followed by a number that represents the number of addresses in the file. The actual list of names and addresses begins on the second line. The following is a sample MEMO2.INI file that contains three address entries:

    3
   Jones, Mary
   Mary Jones
   Burgess, John
   John Burgess
   Simmons, Greg
   Greg Simmons

Note: In the above example, each address entry is two lines long. In the above example, if you change the 3 to a larger number such as 5, WordBasic Error 62 occurs. If you change number to a smaller number such as 2, only the first two addresses are available in your document based on the MEMO2 template.



KBCategory: kbusage

KBSubcategory: kbtemplate
Additional query words: 2.0 2.0a 2.0a-CD 2.0b 2.0c winword2
Memo2.DOT winword
Keywords : kbusage


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.