On Wed, 24 Oct 2007 07:15:40 +0000, Paul Cowan <[EMAIL PROTECTED]> wrote:
>Hi all, >I am engulfed in a rewrite of an old ASP application to ASP.NET 2.0. Part of which generates word documents on the fly from the web server. The application uses office 2003. >This is notoriously tricky and resource hungry. It has peculiarities such as word needs to be visible as part of the process. Thankfully the amount of traffic the product gets is small or the web server would blow up. >What I would like to know is if this is any easier with word 2007. Can I generate word 2003 documents from the web server using office 2007? Will this make my life easier? >My initial thoughts were to have a windows service running that receives requests via MSMQ for these word documents. But the time scales on this project (as is always the case) are small. I need a quick win really. >Can anyone with experience at this type of thing share their experience? >Cheers >[EMAIL PROTECTED] >_________________________________________________________________ >Feel like a local wherever you go. >http://www.backofmyhand.com >=================================== >This list is hosted by DevelopMentorĀ® http://www.develop.com > >View archives and manage your subscription(s) at http://discuss.develop.com I have used office 2000 in a server environment through ASP and indeed it is a path fraught with danger technically, let alone legally licence-wise. But it's not impossible. Since moving to .NET there are thankfully many better options. I have found aspose.com a very good and reliable 3rd party component for creating word documents on the fly - And many other documents too, such as: pdf. The API is rich and robust. Depending on how complex your needs are (Formatting-wise) I have also used myLittleWriter which is free and light weight (Thinking of quick win here) and very easy to use. It creates rtf files which Word has no problem dealing with, and you can bung HTML straight at it too. Its a single .NET assembly that you just reference and use. -Holly. =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com