Importing excel files using CDatabase

Early, I uses DAO to import excel files in MFC application, like this:

CDaoDatabase base1;
base1.Open(mfile, FALSE, FALSE, "Excel 5.0;");

After last windows updates this does not works. Is there correct way to import Excel files using ODBC (CDatabase class)?

Upvotes: 0

Views: 125

Answers (0)

Related Questions