Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2002
    Location
    Chennai, India
    Posts
    10

    Unanswered: How do I determine, through ADO, what version of MS-Access (97/2000) am i opening?

    How do I determine, through code(VB/VC++), what version of MS-Access (97/2000) am i opening?

  2. #2
    Join Date
    Oct 2001
    Location
    Bay Area, CA
    Posts
    117
    Msgbox SysCmd(7) ' returns the Access version

    8.0 is Access 97, 9.0 is Access 2000, and 10.0 is Access 2002


    I have to give credit for this to another member of DB forums who posted this solution a couple of weeks ago. I usually retain useful code in a ....... database.

  3. #3
    Join Date
    Jan 2002
    Location
    Chennai, India
    Posts
    10
    It seems that syscmd() can be used only through VB, but I need the above thing in Visual C++. Is there any other method to find the version of the current database? (ie., Using ADO's Connection or Recordset Collection properties)

  4. #4
    Join Date
    Oct 2001
    Location
    Bay Area, CA
    Posts
    117
    I don't think so. C++ should be able to check the registry files or something.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •