1

My task is to extract information from ppt file and compare with another ppt file. I have to use windows platform so i used excel and powerpoint's COM object.

After developing and testing the code in my computer when i exported the file into another computer it just failed. I started to debug in that file, and surprisingly debug was successful from first to last but as soon as click on the executable it fails.

I am totally *ucked up now cause inspite of updating excel dll files into those computers (which will serve the com support) it's not working. In every pc it gives different error message. I don't wanna work COM object anymore. It *ucks.

Can anyone suggest me any open source alternative in which i can read and extract information from Excel and Powerpoint files (both 2003 and 2007 format) ???

My preferred language is c# ........I got an paid solution (aspose) but i don't wanna go for that.

Any help will be appreciated. Just suggest me how can i deal with office files assuming ms office is not installed in my computer.

seoul
  • 864
  • 1
  • 12
  • 32
  • 2
    you seem to be blaming COM, for your lack of knowledge of it. But, yes, it can suck if you don't understand the versioning/binding subtleties – Mitch Wheat Oct 20 '10 at 04:51
  • 1
    This has been asked many a times...http://stackoverflow.com/questions/15828/reading-excel-files-from-c – Adriaan Stander Oct 20 '10 at 04:51
  • [Aspose](http://www.aspose.com/) really is an excellent solution if you come up short on the free stuff. – ladenedge Oct 20 '10 at 05:10
  • @ mitch: It's not fault for lack of knowledge. It's because of shitty msdn documentation. I followed that and it was never warned about versioning/binding there. Please provide me some link on solving this (if you believe it's solvable "easily") – seoul Oct 20 '10 at 05:21
  • http://msdn.microsoft.com/en-us/library/0tcf61s1(VS.80).aspx – Mitch Wheat Oct 20 '10 at 05:26
  • @ astander: When i wrote this question, this question wasn't shown in suggestion. Please be sure that, before asking this question i searched for this and asked only when i failed to find what i am asking. – seoul Oct 20 '10 at 05:32
  • @ mitch: From the link, for c# tab: "This language is not supported or no code example is available.".........Please recheck your link, there is no information here. – seoul Oct 20 '10 at 05:34

1 Answers1

0

NPOI works well for Excel; I only know to use the built in, MS object library for PPT files.

Tahbaza
  • 9,486
  • 2
  • 26
  • 39
  • It doesn't support powerpoint 2003, but i need ppt support also. So it's not gonna work for me :-( – seoul Oct 20 '10 at 05:35