[python-win32] Implementing Collections / Shim-ing Word
Tim Roberts
timr at probo.com
Wed Jul 2 19:03:59 CEST 2008
jeff sacksteder wrote:
> I have a legacy application that uses Word as printing engine for
> standardized forms via COM. I'm trying to develop a thin COM server
> shim that implements the minimum required to intercept those requests
> and routes them to another application(likely OOo). I had hoped that
> the free Word doc viewer implemented a COM server, but no luck.
>
> To do this I need to create a public 'Documents' collection, which I'm
> not able to do. The app produces an error saying:
>
> Error Code: Member not found
> Subsystem: OLE Automation Client
> Error Subcode: 1
> Function: DOCUMENTS
> Description: Member not Found
>
> (I take that to actually mean a member, not a true function in the 4th line)
>
Well, COM objects don't have members (externally). Everything is a
function.
Did you try spelling your attribute like the error: DOCUMENTS?
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list