[python-win32] how to get access to someone's else Outlook Calendar ?

Stef Mientki stef.mientki at gmail.com
Tue May 11 21:07:32 CEST 2010


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


More information about the python-win32 mailing list