IDisatch and pythoncom

M

Manu

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
 
D

Do Re Mi chel La Si Do

Hi !


Perhaps : .Dispactch vs .Dispatch ?


@-salutations

Michel Claveau
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top