PPT2000: Quitting PowerPoint Invalidates References from Client Applications

ID: Q226586


The information in this article applies to:


SYMPTOMS

If a client application is using the same instance of PowerPoint 2000 that you are interactively using and you quit PowerPoint, you will invalidate the reference that the client application is using.

If you use the "GetObject(, "PowerPoint.Application")" method, you may receive the following error message if PowerPoint is terminated early:

Run-time error: '462'
The remote server machine does not exist or is unavailable.
If you use the "CreateObject("PowerPoint.Application")" method instead, you get the following error message:
Run-time error: '-2147188160 (80048240)'
Application (unknown member): Invalid Request. There is no active presentation.


CAUSE

PowerPoint does not maintain a reference count of client applications accessing it through either method. Because of this, a user of the client application may quit from PowerPoint before the client application has ended, thus invalidating the reference to PowerPoint.


MORE INFORMATION

Microsoft has confirmed this to be a problem in Microsoft PowerPoint 2000.

Additional query words: PPT2K PPT2000 PPT POWERPNT 2000 PPT9 9.0 vba


Keywords          : kbdta kbdtacode OffVBA KbVBA 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: June 28, 1999