Hi!
>>> Python will first query the object if it has a *property* named 'foo' >>> before it asks if it has a *method* named foo. I suspect you are seeing >>> this. Yes, you are right! Python send wFlags=pythoncom.DISPATCH_PROPERTYGET With your advice, I had found than : if wFlags & pythoncom.DISPATCH_PROPERTYGET: raise COMException("inexistant", winerror.DISP_E_MEMBERNOTFOUND) solve the problem. Thank, Mark. You are great, in the Python's hall of fame! Good night. Michel Claveau _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32