Re: Using ActiveX objects in Win32
by logistix other posts by this author
Jan 25 2003 8:41PM messages near this date
Re: Using ActiveX objects in Win32
|
PyGtk and multiple windows
"bap" <trash@[...].com> wrote in message news:<ttyY9.30486$eM6.43059@[...].net>...
> Can anyone point me to documentation on how to use ActiveX objects in a
> Windows environement.
> I know of the anydll module for dlls -- does this work for ActiveX object?
> I'm looking for the equivalent of
> "createobject()" in VB
> Thanks
ActiveX is a subset of COM, so you can get to it through win32com.
The closest equivilent to createobject is:
win32com.client.Dispatch(ProgID)
You'll also get a performance boost by running the makepy utility on
frequently used components. It's on the tools menu in PythonWin.
--
http://mail.python.org/mailman/listinfo/python-list
Thread:
bap
Two Inches
logistix
|