tags:

views:

38

answers:

3

I want to check the presence of ExcelServer on a legacy system.

There are EXCEL spreadsheets present on this system.Also one can open, edit and save EXCEL sheets. But when I check the presence ExcelServer on the C:/ Program files...only 0 kb files are there under MS office(11)/ Excel. Som can 0 kb files deal be ok for an Working Excel sheets?

Only EXCEL folder is there in the MS office.(0 kb/MS word etc are missing). When I do a global search for EXCEL, there were Excel11.pip( 11 kb ),but no EXCEL server.

What are these Excel11.pip files? How to find EXCEL server is present or not?

+1  A: 

Using the registry?

[EDIT]

by checking the presence of the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office in the windows registry

Gregoire
"registry"...can you provide some details please?
vas
+1  A: 

There's no such thing as Excel Server, AFAIK. The Excel application, however, can be tested for by trying to create the COM object ExcelApplication. A quick search of either SO or Google should find you some code for whatever language you're working with - a typical means of doing so is by using CreateCOMObject().

Ken White
+1  A: 

You could use Microsoft.Office.Interop.Excel, and try to obtain an instance of Excel like var excel = new Microsoft.Office.Interop.Excel.Application().

Mathias
This might be a good answer, if vas had mentioned what language he was working in. It wouldn't be good, for example, if vas was working in C or VB < VB.NET.
Ken White
JAVA and Delphi
vas
Agreed, regarding the language. This got me reading the question again, and it is confusing. If "one can open, edit and save EXCEL sheets", then Excel must be on that machine.
Mathias
What are Excel11.pip files?
vas