Skip to content

Instantly share code, notes, and snippets.

@jirolabo
Last active April 11, 2018 14:13
Show Gist options
  • Save jirolabo/b1180721883517cd563ad58c97b0fa67 to your computer and use it in GitHub Desktop.
Save jirolabo/b1180721883517cd563ad58c97b0fa67 to your computer and use it in GitHub Desktop.
Show *.mdb file Access version
Set dao = WScript.CreateObject("DAO.DBEngine.36")
Set db = dao.OpenDatabase("sample.mdb")
WScript.Echo db.Properties("AccessVersion")
'Version 02.00 for Access 2.0
'Version 06.68 for Access 95
'Version 07.53 for Access 97 (8.0)
'Version 08.50 for Access 2000 (9.0)
'Version 09.50 for Access 2002/2003 (10.0/11.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment