Article ID: 317301 - Last Review: January 31, 2007 - Revision: 1.4 PPT2002: You Receive an Error Message When You Call the 'Close' Method of the 'ActivePresentation' EventThis article was previously published under Q317301 SYMPTOMS
If you call Presentation.Close in one of the following Microsoft PowerPoint events
Run-time error '-2147188160 (80048240)': Application (unknown member): Invalid request. "The operation cannot be performed in this handler" CAUSE
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.
RESOLUTION
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 the Microsoft Knowledge Base: 307841
(http://support.microsoft.com/kb/307841/EN-US/
)
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 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 STATUSMicrosoft 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).
| Article Translations
|
Back to the top
