Version of a database

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top