Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Inalidate Database when accessing MSAccess2K

Inalidate Database when accessing MSAccess2K

Scheduled Pinned Locked Moved C / C++ / MFC
databasehelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    G Steudtel
    wrote on last edited by
    #1

    I`m creating an application which uses MSAccess. The application is written and with VC 6.0/SP5 and DAO-SDK 3.6. When creating the database with MSAccess 95 everything works fine. When creating the database with MSAccess2K I get the message that this is not a valid database. I also get this message, when I convert the working '95 database to 2K. I assume, that I have to alter the header files or the alike (and recompile the whole library), to get the application working with MSAccess2K. I remember having read about this elsewhere in the internet, but cannot remember the location. Can someone help me. Either by telling me, where to find the information, or providing some hints, what to do? Regards G. Steudtel

    J 1 Reply Last reply
    0
    • G G Steudtel

      I`m creating an application which uses MSAccess. The application is written and with VC 6.0/SP5 and DAO-SDK 3.6. When creating the database with MSAccess 95 everything works fine. When creating the database with MSAccess2K I get the message that this is not a valid database. I also get this message, when I convert the working '95 database to 2K. I assume, that I have to alter the header files or the alike (and recompile the whole library), to get the application working with MSAccess2K. I remember having read about this elsewhere in the internet, but cannot remember the location. Can someone help me. Either by telling me, where to find the information, or providing some hints, what to do? Regards G. Steudtel

      J Offline
      J Offline
      Joel Lucsy
      wrote on last edited by
      #2

      Use the following line before using any database routines: AfxGetModuleState()->m_dwVersion = 0x601; Once this is called, you should be able to open a MSAccess 2000 version database. Joel Lucsy

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups