[Zope] m$ word question

Oliver Marx oliver@tekk.dk
Mon, 22 Jul 2002 10:34:36 +0200


The VB-script is already based on COM.
So doing COM communication twice is not good coding style in my opinion.

But if you know how to invoke the WORD-object from Python - which should be
a piece of cake
Then you only need the stream of data and voila.

\Oliver

>>-----Original Message-----
>>From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Toby
>>Dickenson
>>Sent: 22. juli 2002 10:09
>>To: Greg Conway; Zope@Zope. Org
>>Subject: Re: [Zope] m$ word question
>>
>>
>>On Saturday 20 Jul 2002 1:02 am, Greg Conway wrote:
>>
>>> Anyway, what I want to do exactly is call Word with a stream of data, to
>>> perform a Mail Merge. I'm converting some script that already runs in
>>> Visual Basic, is it possible to get a Visual Basic script
>>plug-in for Zope?
>>
>>Youve already got some code? thats a good start. Use VB to wrap
>>it up in an
>>in-process COM object, and use python's COM support in an
>>external method to
>>call it.
>>
>>The one major gotcha is getting COM initialized correctly. Unless
>>you add some
>>code, this will happen wrong by default. One of these should help:
>>
>>http://www.google.com/search?q=dickenson+coinitializeex
>>
>>
>>
>>
>>
>>
>>_______________________________________________
>>Zope maillist  -  Zope@zope.org
>>http://lists.zope.org/mailman/listinfo/zope
>>**   No cross posts or HTML encoding!  **
>>(Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope-dev )
>>---
>>Incoming mail is certified Virus Free.
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.371 / Virus Database: 206 - Release Date: 13-06-2002
>>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.371 / Virus Database: 206 - Release Date: 13-06-2002