|
#1
|
|||
|
|||
|
Custom Variables
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 |
|
#2
|
|||
|
|||
|
Re: Custom Variables
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. |
|
#3
|
|||
|
|||
|
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.
Quote:
------------------ Mike Poole IS Engineer |
|
#4
|
||||
|
||||
|
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. |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 06:18 AM.






Linear Mode
