[python-win32] Can't access methods of COM object.

Tim Roberts timr at probo.com
Fri Nov 5 21:22:04 CET 2010


Robert Norman wrote:
> I have been successful in the past using COM from Python to control 
> ActiveX elements such as LabView programs and a few third-party device 
> servers.  I recently tried to integrate a new component  which came with 
> a LabView example and some Visual Basic sample code. The LabView example 
> works for me and I can examine the methods and  properties of the server 
> but I can't seem to do anything with the server from Python.
>
> I can successfully get an instance with:
>
>  >>>ps = Dispatch("PPServer.PPServerClass")
> ...
> The VB example shows:
>
>      Set pps = New PServer

That's not the same thing.  Is that actually "New PPServerClass"?

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list