IDisatch and pythoncom
Manu
zildjianfr at yahoo.fr
Sat Sep 10 14:24:23 EDT 2005
Hi,
I have a COM component server that just exposes the IDispatch interface
but when you use it in a VB app you can access other method. I think the
way to access the other methods( as does it VBA for ex) is to use
Invoke but don't know how to do it in python.
Say for ex i want to convert this very simple example with only
IDispatch interface .
import win32com.client
o = win32com.client.Dispactch('Excel.Application')
o.WorkBooks.Add()
Thx for your help
More information about the Python-list
mailing list