View Full Version : Custom Variables
mpoole
04-21-2000, 10:46 AM
I am trying to develop an Autoplay menu to check and see what version of MS Access a computer has. Based on that, I want to have two buttons; 1)Access Version 8.0 (97) 2) Access Version 9.0 (2000). I have one product database in both versions of MS Access. I want to display the correct version of button to the user when the menu starts up. I have tried numerous combination and have been unsuccessful. Any help would be greatly appreciated. Thanks...
------------------
Mike Poole
IS Engineer
Support
04-24-2000, 09:16 AM
You should try using the Variable Manager to create a variable that checks the Registry to see if Access 2000 is installed. I did some poking around in Regedit.exe and found the key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\9.0\A ccess
You could check if that key exists and show the appropriate button.
mpoole
04-24-2000, 10:00 AM
I am jusing the variable manager and have tried using the HKEY_LOCAL_ROOT\.mdb key and had no success. I does not seem to function as described in the help files.
Originally posted by Support:
You should try using the Variable Manager to create a variable that checks the Registry to see if Access 2000 is installed. I did some poking around in Regedit.exe and found the key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\9.0\A ccess
You could check if that key exists and show the appropriate button.
------------------
Mike Poole
IS Engineer
Rather than looking in HKEY_CLASSES_ROOT for the .mdb extension, you'll want to try HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\9.0\A ccess or something like that.
Try looking at the "Using Advanced Features Demo" fromt the Template Gallery for examples of how to query the registry.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.