Word to XML with C#

C

ChainsawDude

I aim to convert word docs to XML using C# and office automation. The .doc
files are stored in a database.

Please say if it is possible to open a dotnet Stream object in word or must
I always save to a temporary file?

Thanks
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?Q2hhaW5zYXdEdWRl?=,
I aim to convert word docs to XML using C# and office automation. The .doc
files are stored in a database.

Please say if it is possible to open a dotnet Stream object in word or must
I always save to a temporary file?
Word has no provision to open a .NET Stream object, only files. Word 2003 is
slightly different, in that you can "feed it" WordML. But if you're using C#
to convert Word docs to XML you're probably not using Word 2003...

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 :)
 

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