PPT2002: You Receive an Error Message When You Call the 'Close' Method of the 'ActivePresentation' Event

This article was previously published under Q317301
This article has been archived. It is offered "as is" and will no longer be updated.
If you call Presentation.Close in one of the following Microsoft PowerPoint events
  • NewPresentation
  • PresentationOpen
  • PresentationClose
  • PresentationNewSlide
  • PresentationPrint
  • SlideShowBegin
  • WindowActivate
  • WindowBeforeDoubleClick
  • WindowBeforeRightClick
  • WindowDeactivate
you receive the following error message:
Run-time error '-2147188160 (80048240)':
Application (unknown member): Invalid request. "The operation cannot be performed in this handler"
This problem occurs because PowerPoint events are synchronous, unlike the events that are in other Microsoft Office programs. Therefore, when you call the Close method, it results in another event and fails when called during the events that are listed in the "Symptoms" section of this article.
Two new events, the AfterNewPresentation and the AfterPresentationOpen events, were added to the PowerPoint object model in Microsoft Office XP Service Pack 2 (SP-2). To resolve this problem, replace both the NewPresentation and the PresentationOpen events with the new events in Office XP SP-2.

NOTE: The NewPresentation and PresentationOpen events are the only events that are addressed in Office XP SP-2.

To resolve this problem, obtain the latest service pack for Microsoft Office XP. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
307841 OFFXP: How to Obtain the Latest Office XP Service Pack
The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date           Time  Size       File name   -------------------------------------------------   26-Apr-2002   15:56  2,275,384  Powerpnt.msp   26-Apr-2002   16:40  8,168,448  Powerpnt_admin.msp   01-May-2002   10:31      2,642  Readme.txt				
After the hotfix is installed, the following files will have the listed attributes or later:
   Date           Time  Version         Size       File name   ----------------------------------------------------------   24-Apr-2002   12:44  10.0.4016.0       244,040  Msppt.olb   24-Apr-2002   12:44  10.0.4016.0     5,974,344  Powerpnt.exe				

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Office XP Service Pack Service Pack (SP-2).
prb PPT
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 317301 - Last Review: 10/26/2013 00:59:00 - Revision: 1.0

  • Microsoft PowerPoint 2002 Standard Edition
  • kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kberrmsg kbfix KB317301