AW: Nutzen der COM-Schnittstelle von Zope aus

"Iffland Stefan" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo Liste,

 

das Problem hat sich nun scheinbar gelöst. Deshalb hier für alle Interessierten die Lösung:

 

anstatt dem Aufruf

appointment = o.CreateItem(win32com.client.constants.olAppointmentItem)

 

muss in Zope der Weg über den Namespace beschritten werden:

ns = o.GetNamespace("MAPI")

calFolder = ns.GetDefaultFolder(win32com.client.constants.olFolderCalendar)

appointment = calFolder.Items.Add(win32com.client.constants.olAppointmentItem)

 

Vielen Dank für alle Hinweise und viele Grüße

Stefan



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.