Microsoft KB Archive/224893

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

Article ID: 224893

Article Last Modified on 9/29/2003

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q224893





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 that this is a problem in the Microsoft products that are listed at the beginning of this article.



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: kbbug kbpending KB224893

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.