office2000要把97的数据库转成2000的才可以写,这点你可以用2000打开97的库看到!!!
解决方案 »
- 远程注入的DLL如何获得注入进程的窗口句柄
- 使用宏IMPLEMENT_SERIAL时出现error C2039: 'classCDraw' : is not a member of 'CDraw'
- d3d图片如何灰色显示及高亮显示
- DataGrid控件不定期弹出“对象已关闭,无法进行此操作”?
- 急需参图像分割的一些算法资料
- 怎么看自己的专家分啊?
- bitmap.LoadBitmap(nIDResource);后,我想知道位图被放在哪儿了,因为我想对存放在内存中的位图进行修改。
- 串行化问题:如何方便的存取struct结构体
- 100寻觅:如何把多张bmp图压缩成AVI文件?
- 关于OLE DB方式的数据库访问(在vc中)的批更新问题
- ~~~~~~~~~~~~~~~~~一个关于资源的初级问题:求教!
- ★100分在线相送!如何不通过注册数据源或是动态注册数据源实现自动创建数据库以及数据库中的表和列。并且使得数据库放在程序所在的文件
用ADO,或OLE DB.
"微软已经明确DAO已经被淘汰."??
哪儿来的消息??
在BOOL CXXXXApp::InitInstance()中
AfxGetModuleState()->m_dwVersion = 0x0601;//让DAO支持ACCESS2000;
Insert this line in the CYourApp::Initinstance() function of your program. If you are building with the static MFC libraries, following are the steps to get static builds of MFC to use DAO 3.6:
1) Modify the Daocore.cpp file in the MFC SRC directory. You will receive the following comment:// Determine whether to use DAO 3.6, 3.5, or 3.0
// Use DAO 3.0 if DLL build and not built with MFC 4.21 or later
// Use DAO 3.6 if MFC 6.01 or later
// otherwise, DAO 3.5
Add the following lines:#undef _MFC_VER
#define _MFC_VER 0x0601
2) Rebuild the library for the variant you need. For example, to build the static MFC library, debug version, non-Unicode, with no browser files use the following command at the command prompt in the MFC\SRC folder: nmake DEBUG=1for release:
nmake DEBUG=0for unicode builds:
nmake DEBUG=1 UNICODE=1
nmake DEBUG=0 UNICODE=1