//Access2000 database and DAO
To read Access 2000mdb, i added the following code :
AfxGetModuleState()->m_dwVersion = 0x0601;
and then i could read Access 2000 mdb,
Your project config must be set to shared dll
Insert into the initinstance of your myprojapp.h file as
shown below
[ccode]
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
AfxGetModuleState()->m_dwVersion = 0x0601;
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically'
#endif
To read Access 2000mdb, i added the following code :
AfxGetModuleState()->m_dwVersion = 0x0601;
and then i could read Access 2000 mdb,
Your project config must be set to shared dll
Insert into the initinstance of your myprojapp.h file as
shown below
[ccode]
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
AfxGetModuleState()->m_dwVersion = 0x0601;
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically'
#endif
解决方案 »
- 怎样取得本机DWORD类型的子网掩码和网关?
- ON_MESSAGE(WM_COMM_RXCHAR, OnComm)应填在何处
- doc里处理数据,view里作显示处理
- 从CEdit类派生一个CConsoleShell类,迷惑中...
- 如何使自己的窗口保持在激活状态?
- 怎样在VC中调用一个可执行程序?
- 紧急:怎样在程序中知道哪个modem连接在哪个com口?
- 编写数据库应用软件,是否只用VB或VC就可以搞定一切?
- 钩子函数
- ===================== 超级酷的浏览器Myborswer的病毒!详细特征及解决方案讨论。=====================
- (初学者)类外函数怎样调用类内部的控件数据对象?
- 高分求网络问题---急(不够可加)
能介绍 好的版本 和 不好的版本 吗?形如:
出版者,
光盘数,
光盘号,
不想再买一堆VS7回来选,分数就给提供此信息的人了,呵呵~~~
不愧是五星,厉害
下载个ado的新版本吧。
不过你用DAO的方式是在masterz() 说的方法下用ACCESS 2000的。
Microsoft.VS.Net.Build.9486.01.CHS.iNTERNAL-RORiSO
上面的是英文版
下面的是中文版