Working with Excel and Word Files in .NET

  • Thread starter Thread starter Aditya Narvekar
  • Start date Start date
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
 
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.
 
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
 
Back
Top