L
Lorenz Ingold
I want to write a VB6 tool that (among other) can take a file specification
of an mdb-file and tell me whether it is in Access97-, Access2000- or
Access2002/2003-format. However, all I found out is that I could get the
Jet-Version of the file. I use the following code:
Set objDatabase = objDaoWorkspace.OpenDatabase(filespec, ...)
varVersion = objDatabase.Version
This gives 3.0 for an Access97-database and 4.0 for an Access2000-database
and all highers. So I even cannot distinguish between Access2000 and
2002/2003 formats. How can I find out programmatically the Access-Version of
a database?
of an mdb-file and tell me whether it is in Access97-, Access2000- or
Access2002/2003-format. However, all I found out is that I could get the
Jet-Version of the file. I use the following code:
Set objDatabase = objDaoWorkspace.OpenDatabase(filespec, ...)
varVersion = objDatabase.Version
This gives 3.0 for an Access97-database and 4.0 for an Access2000-database
and all highers. So I even cannot distinguish between Access2000 and
2002/2003 formats. How can I find out programmatically the Access-Version of
a database?