Microsoft KB Archive/872938

= The PresentationClose event does not return the Fullname property, the Path property, or the Name property when you quit PowerPoint 2003 =

Article ID: 872938

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft Office PowerPoint 2003

-





For a Microsoft PowerPoint 2002 version of this article, see 871009.



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you quit Microsoft Office PowerPoint 2003 and then use the PresentationClose event to capture the Fullname property, the Path property, or the Name property of a presentation by using a Microsoft Visual Basic macro or other code, the incorrect information is returned for the properties.



CAUSE
This problem occurs because PowerPoint 2003 does not retain the presentation context when you quit PowerPoint 2003 and close a presentation at the same time.



RESOLUTION
This problem was first fixed in a hotfix that is now contained in a service pack. If you installed the latest Office 2003 service pack, you do not have to install the hotfix.

Service pack information
This problem is corrected in Office 2003 Service Pack 2.

To resolve this problem, obtain the latest service pack for Office 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

870924 How to obtain the latest service pack for Office 2003

How to obtain the hotfix
This issue is fixed in the PowerPoint 2003 Hotfix Package that is dated August 20, 2004. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

839630 Description of the PowerPoint 2003 post-Service Pack 1 hotfix package: August 20, 2004



WORKAROUND
To work around this problem, close the presentation, and then quit PowerPoint 2003. If you close the presentation first, PowerPoint 2003 retains the presentation context and returns the correct values so that the PresentationClose event can capture the Fullname property, the Path property, or the Name property of the presentation.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

This problem was first corrected in Office 2003 Service Pack 2.



MORE INFORMATION
To enable this hotfix, follow these steps.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.  Quit PowerPoint 2003. Click Start, click Run, type regedit in the Open box, and then click OK. Locate and then click the following registry subkey:

 

 On the Edit menu, point to New, and then click DWORD value.</li> Type Hotfix12930, and then press ENTER.</li> Right-click Hotfix12930, and then click Modify .</li> In the Value data box, type 1, and then click OK.</li> On the File menu, click Exit to quit Registry Editor.</li></ol>

Additional query words: ppt2003

Keywords: kbbug kbfix kbqfe kbprogramming kboffice2003sp2fix kbhotfixserver KB872938

-

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

© Microsoft Corporation. All rights reserved.