Re: Creating Word Documents
- From: "Mark Rae" <mark@xxxxxxxxxxxxxxxxx>
- Date: Thu, 1 Feb 2007 16:47:12 -0000
"Brian Cryer" <brianc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:OkOfr9hRHHA.4448@xxxxxxxxxxxxxxxxxxxxxxx
Am I right in assuming that using Automation to generate word documents is
a bad idea for a webserver?
You are completely correct in that. In fact, it's such a bad idea that
Microsoft won't support any application which does it:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2
I've always had the impression that with Excel the single threaded nature
of it meant it was unsuitable for all but the lightest use on a webserver
and I'm making the assumption that the same applies to Word. Am I right?
Yes you are. Do a search in the newsgroup for the thread entitled
"Automation of Word from .net 2" - you might find it interesting reading...
:-)
Also, does anyone know of any alternatives for generating a word document?
(Text + Images + ideally some formatting)
There are several, varying in price and difficulty.
1) Use HTML
Create an HTML document and give it a Word extension - Word will open it
just like a native Word document. This is completely free and very simple.
2) Use XML
http://www.microsoft.com/downloads/details.aspx?familyid=fe118952-3547-420a-a412-00a2662442d9&displaylang=en
or the equivalent for Office 2007. Again, this is completely free, but will
involve a fair bit of work, especially if you're not familiar with XML.
3) Use Aspose
http://www.aspose.com/Products/Aspose.Words/Default.aspx This is a
commercial product, but very simple.
.
- Follow-Ups:
- Re: Creating Word Documents
- From: Brian Cryer
- Re: Creating Word Documents
- References:
- Creating Word Documents
- From: Brian Cryer
- Creating Word Documents
- Prev by Date: Creating Word Documents
- Next by Date: Re: Client side changes not reflected in page
- Previous by thread: Creating Word Documents
- Next by thread: Re: Creating Word Documents
- Index(es):
Relevant Pages
|