D
dgm
Sometime ago I wrote a VB6 program to launch the correct version of MS
Access, depending on what version a file was made with. The program grabs all
the MS Access file types when it loads and after a delay does the same again.
Upon clicking an MS Access file type, the program reads the first 176 bytes
from the file then launches either Access 97 or Access 2000 depending on
what's found.
I'm having to maintain several old databases, continuing with the same
version. Users also need help opening the right version of Access for a file.
The program needs to be updated. All I have myself is 97 and 2000, but users
have all subsequent versions. I have no way of creating sample files for each
of the versions so I can see what they contain.
My logic to determine 97 or 2000 in the first 176 bytes is, if the string
"Standard Jet" is not found or if the string "4.0" is found, the file is
2000. Otherwise it is 97. The location of the MS Access exe is then fetched
from the shell\open\command value in the registry for that version.
Can someone please say what info in the fle indicates the version created
with, for all versions? I will make the updated program available for anyone
who wants it. Thanks
Access, depending on what version a file was made with. The program grabs all
the MS Access file types when it loads and after a delay does the same again.
Upon clicking an MS Access file type, the program reads the first 176 bytes
from the file then launches either Access 97 or Access 2000 depending on
what's found.
I'm having to maintain several old databases, continuing with the same
version. Users also need help opening the right version of Access for a file.
The program needs to be updated. All I have myself is 97 and 2000, but users
have all subsequent versions. I have no way of creating sample files for each
of the versions so I can see what they contain.
My logic to determine 97 or 2000 in the first 176 bytes is, if the string
"Standard Jet" is not found or if the string "4.0" is found, the file is
2000. Otherwise it is 97. The location of the MS Access exe is then fetched
from the shell\open\command value in the registry for that version.
Can someone please say what info in the fle indicates the version created
with, for all versions? I will make the updated program available for anyone
who wants it. Thanks