OL2000: Illegal Operation or Application Error Pressing ESC in Visual Basic Editor

ID: Q224893


The information in this article applies to:
  • Microsoft Outlook 2000


SYMPTOMS

While using the Visual Basic Editor with Outlook, if you press the ESC key you may receive one of the following error messages:

  • With Windows NT


  • An application error has occurred and an application error log is being generated.

    Outlook.exe

    Exception access violation (0xc0000005), Address: 0x6501c5de.
  • With Windows 95/98


  • This program has performed an illegal operation and will be shut down.

    If the problem persists contact the program vendor.

    OUTLOOK caused an invalid page fault in module VBE6.DLL at 015f:6501c5de.
Following these errors the Visual Basic Editor and Outlook close unexpectedly.


CAUSE

This problem occurs with the Visual Basic Editor because the ThisOutlookSession does not expose any objects.


RESOLUTION

Avoid pressing the ESC key while the Outlook Application list is expanded. Click to close the expanded list.


STATUS

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


MORE INFORMATION

Steps to Reproduce Problem

  1. Start Outlook.


  2. On the Tools menu, point to Macro, and then click Visual Basic Editor.


  3. In the Visual Basic Editor, click to expand Project 1 and then Microsoft Outlook Objects.


  4. Click to select ThisOutlookSession.


  5. Click the Outlook Application list so that it expands.


  6. Press ESC.


You will receive one of the error messages mentioned in the Symptoms section.

Additional query words: OL2K

Keywords :
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: May 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.