OleDB Connection to Excel
My application connects to excel files.
I am using this code:
dc =new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + fileName + ";" + "Extended Properties=\"Excel 8.0;HDR=YES;\""); |
It works fine on Excel 2000 on all computers. Also it works onsome computers with Excel 2002/XP, but on some computers with Excel 2002/XP it doesn't work.
How can I solve it?
Thank's
Alexei

