Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all
I generated database software by Access database 2007.
During installing the software, I want if doesn't exist Access database 2007 in target machine to install it otherwise doesn't install it .(for example: using Installshield software)
one way is: check version of Access database in Registry, i search it in Registry but didn't found.(Do you know how can i get it?)

TNX
Posted
Updated 14-Feb-11 6:08am
v4

1 solution

You need to check the registry for the following key:

"HKEY_CLASSES_ROOT\Access.Application\CurVer"
The key will give you the following values:

Access.Application.8: means: "Access 97"
Access.Application.9: means: "Access 2000"
Access.Application.10 means: "Access XP"
Access.Application.11 means: "Access 2003"
Access.Application.12 means: "Access 2007"
Access.Application.13 means: "Access 2010"
 
Share this answer
 
Comments
saeid2010 10-Feb-11 6:27am    
Thanks for your answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900