Solved

MS Office automation on Server without instance on server

Posted on 2008-10-02
3
933 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 70

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

635 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