Babak Fakhriloo
Babak Fakhriloo

Reputation: 2126

using ms office com objects in other systems without have office installed

i wrote a app for reading excel files.i had to add some references to Microsoft office Com Objects. it worked good in my system,but when i wanted to use it in other system in which does`t had ms office installed , i encounter a problem.i also carried dll files that has been added to project . what should i do ?

Upvotes: 1

Views: 635

Answers (2)

KB22
KB22

Reputation: 6979

In order to use the relevant object libraries you'll have to make sure that Office (Excel in your case) is installed on your client machine. If you have the option I'd suggest to switch to the Open Office XML format anyways. I recently had a similar problem with MS Word and the +work to switch to the new format has def. payed of.

Check MS Open XML SDK

Performace++ and not depending on Office installed...

Upvotes: 5

itowlson
itowlson

Reputation: 74832

The Office COM objects depend on Office. You should either arrange for Office to be installed on the other systems, or use a component for reading Excel files that doesn't need Excel installed, such as the ODBC Excel driver or a third-party Excel file reader.

Upvotes: 4

Related Questions