PPT97: Run-Time Error Using Assistant.Application (163610)
The information in this article applies to:
- Microsoft PowerPoint 97 for Windows
This article was previously published under Q163610 SYMPTOMS
You receive the following error message when you attempt to access the
Application property from the Assistant property (for example,
Assistant.Application).
Run-time error '-2147467259 (80004005)':
Method 'Application' of object 'Assistant' failed
CAUSE
In the PowerPoint object model, the Application property is not accessible
through the Assistant property.
RESOLUTIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
To prevent the error message, use the Application property directly:
Sub UseApplicationProperty
Application.<Name of property or method>
End Sub
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
Microsoft PowerPoint 98 Macintosh Edition.
MORE INFORMATION
The Application property returns an Application object that represents the
container application for the specified object. You can use the Application
property with an Automation object to return that object's container
application.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kberrmsg kbProgramming KB163610 |
---|
|