//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

解决方案 »

  1.   

    search service pack 5 of Visual Studio 6 in microsoft.com
      

  2.   

    我没买过VS7,以前买VS6就买了很多张才买到一张不错的,
    能介绍 好的版本 和 不好的版本 吗?形如:
    出版者,
    光盘数,
    光盘号,
    不想再买一堆VS7回来选,分数就给提供此信息的人了,呵呵~~~
      

  3.   

    to:masterz()
    不愧是五星,厉害
      

  4.   

    对了,sp5在win98上能用吗,我启不是不装VS7就要装win2000?
      

  5.   

    你是用ado么?
    下载个ado的新版本吧。
      

  6.   

    siekensou(天国之门-安魂曲)应该可以的。不用装win2000,
    不过你用DAO的方式是在masterz() 说的方法下用ACCESS 2000的。
      

  7.   

    MICROSOFT.VISUAL.STUDIO.NET.ENTERPRISE.ARCHITECT.EDITION-ISO
     Microsoft.VS.Net.Build.9486.01.CHS.iNTERNAL-RORiSO
     上面的是英文版
     下面的是中文版