Create Office documents on server


Terry Holland

Not sure if this is the most appropriate group - feel free to redirect me.

If I have a web application that needs to programatically create and
manipulate office documents (word & excel), what options do I have other than
installing MS Office on the web server?

Can I just install an Office SDK or a version of Office that has no user




Joern Schou-Rode

Aspose has some really nice libraries indeed, and I agree with Mark Rae
that you should very much prefer theese to Office automation.

For "pet projects", where you do not have the money need to grab an Aspose
license, you might want to consider the fact that some of the Microsoft
Office applications are able to open HTML documents. Returning an HTML
document with the mime-type set to application/msword will usually trigger
Microsoft Word to open the document. Honestly, you really do not want to
go this way unless you have to - Aspose offers much more flexibility, and
it is a lot easier to work with.



Norman Yuan

One limited option to process MS Word/Excel document/sheet on server side is
to use VSTO's server document capability. It does not require Word/Excel
installation on server side. Basically what you can do with serverdocument
is to embed data (retrieved in server side process) into Data island in
serverdocument. and then when the document is opened in user computer, VSTO
add-ins will do something according to the data in data island. It may or
may not suit your need.

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