On 11-05-2010 04:01, Mark Hammond wrote:
> On 4/05/2010 6:40 AM, Stef Mientki wrote:
>> Now one small question, how do I get those constants, like
>> constants.olFolderCalendar (=9) ?
>
> makepy needs to have been run for the object in question before the
> constants magically appear. It should be as simple as using
> win32com.client.gencache.EnsureDispatch() instead of a 'plain' Dispatch.
>
> Mark
thanks very much Mark,
works like a charm.
cheers,
Stef
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32