WD97: GetAddress Method Without Name Argument Causes IPF

ID: Q167381

The information in this article applies to:

SYMPTOMS

When you use the Visual Basic for Applications GetAddress Method and omit the optional Name argument, you receive the following error message:

   This program has performed an illegal operation and will be
   shutdown.

   If the problem persists, contact the program vendor.

When you click Details, the following message appears:

   WINWORD caused an invalid page fault in module WINWORD.EXE at
   0137:30144b96.

For example, the following command line will cause this problem:

   x = Application.GetAddress(CheckNamesDialog:=True)

WORKAROUND

To work around this problem, include the Name argument when you use the GetAddress method. The Name argument can be a null value, like this:

   x = Application.GetAddress(Name:="", CheckNamesDialog:=True)

For more information about GetAddress Method, click the Office Assistant while in the Visual Basic Editor, type "GetAddress Method," click Search, and then click to view "GetAddress Method."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If the Assistant is not able to answer your query, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q176476
   TITLE     : OFF: Office Assistant Not Answering Visual Basic Questions

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: wordcon vb vba vbe

Keywords          : kberrmsg kbprg kbdta kbdtacode word8 kbwordvba word97 
Version           : WINDOWS:97
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbbug
Solution Type     : kbpending

Last Reviewed: May 12, 1999