Solved

MS Office automation on Server without instance on server

Posted on 2008-10-02
3
927 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

760 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

18 Experts available now in Live!

Get 1:1 Help Now