[Zope] m$ word question

Toby Dickenson tdickenson@geminidataloggers.com
Mon, 22 Jul 2002 09:09:05 +0100


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, t=
o
> 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 Z=
ope?

Youve already got some code? thats a good start. Use VB to wrap it up in =
an=20
in-process COM object, and use python's COM support in an external method=
 to=20
call it.

The one major gotcha is getting COM initialized correctly. Unless you add=
 some=20
code, this will happen wrong by default. One of these should help:

http://www.google.com/search?q=3Ddickenson+coinitializeex