WD97: GetSpellingSuggestions Method Causes Errors

Last reviewed: July 31, 1997
Article ID: Q169545
The information in this article applies to:
  • Microsoft Word 97 for Windows

SYMPTOMS

When you use the Visual Basic for Applications GetSpellingSuggestions method, you may receive one of the following errors:

   This program has performed an illegal operation and will be shut
   down. If the problem persists, contact the program vendor.

When you click Details, you will receive the following error message:

   WINWORD caused an invalid page fault in module WINWORD.exe at
   0137:3000b8bb

   -or-

   Run-time error '-2147417851(80010105)':

   Method 'GetSpellingSuggestions' of Object '_Application' failed

CAUSE

You may be calling the Visual Basic for Applications GetSpellingSuggestions method when there are no documents open in Word.

WORKAROUND

To work around this problem, make sure there is a document open in Word before using the Visual Basic for Applications GetSpellingSuggestions method.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: 8.0 8.0 vb vbe vba ipf
Keywords : word8 word97 kberrmsg kbprg
Version : 97
Platform : WINDOWS
Issue type : kbprb
Solution Type : kbworkaround


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 31, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.