I've been using Microsoft.Jet.OLEDB.4.0 and Microsoft.ACE.OLEDB.12.0 to read in .csv, .xls, and .xlsx files.
I just found out that neither of these technologies are supported in native 64bit mode!
I have 2 questions:
What is the supported way to programatically read .csv, .xls, and .xlsx files in 64 bit mode. I just can't find answers to this anywhere.
If I can't read in all three file types, what is the best way to read in .csv files in a 64 bit environment?
Notes:
- I'm using .NET (3.5p1)
- This is a shrink wrap app; redistribution is a key factor.
Update:
I can use CorFlags to force the application to run in 32bit mode, which works, but is not desirable.
See Question&Answers more detail:os