Working with Excel and Word Files in .NET

A

Aditya Narvekar

Hi,
I have developed an application which downloads word and excel files from
the web and then parses them to get the relevant information. However, as of
now we cannot deploy the application on any of of our webservers
(dev/test/prod) because we do not have office installed on our servers.
Please advise if there is a work around for this issue.
Thanks,
Adi
 
J

Jeff

I've used the namespaces in System.IO.Packaging to create & modify
Word, PowerPoint & Excel documents on the fly. It was pretty easy too.
Of course, that will only work if you are using Office 2007 documents
since they (more or less) adhere to the OOXML standard... and you need
to know how to handle XML pretty well too... Either way, Office is not
a requirement at all for this to work.
 
C

Craig Murphy

Aditya Narvekar said:
Hi,
I have developed an application which downloads word and excel files from
the web and then parses them to get the relevant information. However, as
of
now we cannot deploy the application on any of of our webservers
(dev/test/prod) because we do not have office installed on our servers.

Hopefully these are Office 2007 documents, in which case you can use Open
XML without the need for a server-side Office installation.

You can find some demo C# code and a short video demonstrating Open XML over
at my blog:

http://www.craigmurphy.com/blog/?p=913

http://www.craigmurphy.com/blog/?p=871

HTH

Rgs
--Craig
 

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