Switching between multiple versions of Access
I am working at a shop that deploys an app in XP. This app may be deployed on
machines where multiple versions of Office, and thus Access, may be found.
When you invoke one that's not current, Office decides to do this really long
song and dance to reconfigure itself, which annoys the customers.
I figure the information is in the registry which is containing what the
current version of Access is. What I plan to do is write a program that
alters the registry to look like it is for Access XP, run our program, then
put it back
I have found the file extenstion keys in the HKEY Classes Root, as well as
the Access entries there for the various file types. Any other places where
the specific version is being called out that Access XP would know its not
the current Access?
I also found an entry in HKEY_Local_Machine which leads me to a different
question. The program name is being stored in its short file name version in
certain keys - but its an odd short name - there are hex numbers in the file
name, and its rather consistent across machines, since googling MI699F~1, a
piece of the file name shows up all over the net. How does one encode to that
file name? Calling GetShortPathName does the standard short name, which
doesn't match.
date: Wed, 2 Jul 2008 13:52:05 -0700
author: Scott Berger