You attempted to access a property or method of an object that does not support Automation. You can create and pass a pointer to an object that does not support Automation, but you cannot access its properties and methods.
To correct this error
Check the documentation of the application that created the object for limitations on the use of Automation with this class.
Note The object may have been created using CreateObject, but it also may have been introduced by way of the host object model.