Word 2003 automation from NT Service (.Net)

G

gizmo

Hi,

I'd appreciate any information you can share on the following subject.

I have been investigating the use of XML Schemas with Word 2003 to
automatically generate data rich docs using XML data files, schemas and
word templates, in conjunction with the .Net toolkit for Microsoft
Office.

Ultimately I will want to control this automation from an NT Service,
sucking data from MSMQ and creating documents as a result. I don't see
any obvious way of doing this, since the sample project I have
generates the word docs visually on screen. I want this all done in
the background without any visual experience.

Any info would be much appreciated.

Regards
Gavin
 
C

Cindy M -WordMVP-

Hi Gizmo,
I have been investigating the use of XML Schemas with Word 2003 to
automatically generate data rich docs using XML data files, schemas and
word templates, in conjunction with the .Net toolkit for Microsoft
Office.

Ultimately I will want to control this automation from an NT Service,
sucking data from MSMQ and creating documents as a result. I don't see
any obvious way of doing this, since the sample project I have
generates the word docs visually on screen. I want this all done in
the background without any visual experience.
From what I can gather, you need to transform the data into
WordProcessingML. That creates a file Word will open and display as a
Word document, and it can be displayed as a document. No need for any
automation of Word, and no need to validate against a schema, or have any
XML tags in the result (unless you need them for something later).

Have you looked at the Word SDK that's available on the MSDN site?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
G

gizmo

Hi Cindy,

Many thanks for your contribution. You have opened a new avenue of
investigation for me.

Regards
Gavin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top