Thomas Heller wrote:
> Christian K. schrieb:
>>> Second, if you are running the exact sample that I posted then it should
>>> work
>>> for InternetExplorer, and with slight changes also for Outlook. At least
>>> it worked for me.
>> Well, here it doesn't.
>
> comtypes uses fairly extensive loggi
Christian K. schrieb:
>> Second, if you are running the exact sample that I posted then it should work
>> for InternetExplorer, and with slight changes also for Outlook. At least
>> it worked for me.
>
> Well, here it doesn't.
comtypes uses fairly extensive logging calls in certain areas. You c
Christian K. schrieb:
>
> I successfully read out the Outlook inbox using comtpyes but finally
> switched back to pywin32 because I was not able to interprete the value
> of MailItem.CreationTime,
> e.g:
> obj.Session.Folders['mail.server.com'].Folders['INBOX'].Items.Item(1).CreationTime
> which
Christian K. schrieb:
> Thomas Heller wrote:
>> Christian K. schrieb:
>>> Now I installed comtypes from svn and get this error running your new
>>> example:
>>>
>>> Traceback (most recent call last):
>>>File "C:\Dokumente und Einstellungen\ck\Desktop\x.py", line 64, in ?
>>> Listener()
>>>
Thomas Heller wrote:
> Christian K. schrieb:
>> Now I installed comtypes from svn and get this error running your new
>> example:
>>
>> Traceback (most recent call last):
>>File "C:\Dokumente und Einstellungen\ck\Desktop\x.py", line 64, in ?
>> Listener()
>>File "C:\Dokumente und Einst
Christian K. schrieb:
>
> Now I installed comtypes from svn and get this error running your new
> example:
>
> Traceback (most recent call last):
>File "C:\Dokumente und Einstellungen\ck\Desktop\x.py", line 64, in ?
> Listener()
>File "C:\Dokumente und Einstellungen\ck\Desktop\x.py",
Thomas Heller wrote:
> Christian K. schrieb:
>> sorry. I forgot the attachment.
>>
>> Christian
>>
>>
>>
>>
>>
>> import unittest
>> import comtypes.client
>>
>> import wx
>>
>> class EventHandler(object):
>> """Instances
Christian K. schrieb:
> sorry. I forgot the attachment.
>
> Christian
>
>
>
>
>
> import unittest
> import comtypes.client
>
> import wx
>
> class EventHandler(object):
> """Instances are called when the COM object
sorry. I forgot the attachment.
Christian
import unittest
import comtypes.client
import wx
class EventHandler(object):
"""Instances are called when the COM object fires events."""
def __init__(self, view, name):
self.view = view
self.name = name
def __call__(self,
Hi,
I'm trying to recieve com events in a wxpython application. I modified
an example posted here by Thomas Heller some time ago. It seems that the
events are not delivered. Am I doing something wrong or is this just a
limitation of com/wxPython?
Thanks for any hint, Christian
___
10 matches
Mail list logo