Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
afxdao.h で定義されている CDaoDatabase を使用して、Excel 2007 (xlsx) ファイルを開くにはどうすればよいですか? 接続文字列 Excel 8.0;HDR=NO;IMEX=1 を使用して Excel 2003 (xls) ファイルを開くことができます。
ありがとう!
プロバイダーとして Microsoft.ACE.OLEDB.12.0 を使用する必要があります。DAO がそれをサポートしているかどうかは不明です。MFC の DAO クラスは非推奨です。