Solved

MS Office automation on Server without instance on server

Posted on 2008-10-02
3
928 Views
Last Modified: 2013-11-10
I was just reading something and I am wondering about the possibilities.

I have an application that uses microsoft office automation, but it is done on the client desktop.  I avoided using office automation on the server for many of the reason microsoft says.
http://support.microsoft.com/kb/257757

But then I read this:
http://msdn.microsoft.com/en-us/library/h7eb01hx(VS.80).aspx

Is true?, Can you manipulate MS office object on the server without having to install MS office on the server?

Is this also true for Excel and PowerPoint?''

I would love to shift the workload to the server if what is mentioned above is possible without installing MS office on the server.

Thoughts?

-Chris
0
Comment
Question by:jackzoid
  • 2
3 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 22629602
there are some 3rd party components that let you create Office documents without having to install it on a server (or a desktop). I use http://www.aspose.com/
0
 
LVL 6

Accepted Solution

by:
einarbrown earned 500 total points
ID: 22684704
What version of Office are you using?

If you use 2007 you are safe:
"Office 2007 supports new Open XML file formats that let developers create, edit, read, and transform file content on the server side. These file formats use the System.IO.Package.IO namespace in the Microsoft .NET 3.x Framework to edit Office files without using the Office client applications themselves."

Earlier versions of office can read the new filstandard (.docx etc) if you download an plugg in to office.
http://office.microsoft.com/en-us/products/HA101686761033.aspx

if you want to manipulate older office document (like .doc) you need an 3rd party component as Emoreau points out.
0
 
LVL 6

Expert Comment

by:einarbrown
ID: 22684743
You can alsow use OLEDB to read and write to/from excell documents.  Read more here:

http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_23688184.html
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
My experience with Windows 10 over a one year period and suggestions for smooth operation
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now