Hi,
This is a question that has still taken me one week and no solution.. Please help me..
- Ok on my old laptop had Excel 2003 (32 Bit) and windows (32 bit) - My application worked very OK when using the connection string ;
- Now, a new laptop was issued to me and it has Excel 2010 (32 bit) and windows (64 bit). I downloaded the Access database engine at
http://www.microsoft.com/en-gb/downl....aspx?id=13255
and changed the connection string to;
The problem is it DOESN'T READ THE EXCEL 2010 document to import to the form.
Please help me..
Thank you
This is a question that has still taken me one week and no solution.. Please help me..
- Ok on my old laptop had Excel 2003 (32 Bit) and windows (32 bit) - My application worked very OK when using the connection string ;
Code:
MyConnection = New System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; " & _
"data source='" & PrmPathExcelFile & " '; " & "Extended Properties=Excel 8.0;")
http://www.microsoft.com/en-gb/downl....aspx?id=13255
and changed the connection string to;
Code:
MyConnection = New System.Data.OleDb.OleDbConnection("provider=Microsoft.ACE.OLEDB.12.0; " & _
"data source='" & PrmPathExcelFile & " '; " & "Extended Properties=Excel 12.0; HDR=Yes;")
Please help me..
Thank you