Announcement

Collapse
No announcement yet.

Custom Variables

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

    Comment


    • #3
      Re: Custom Variables

      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

      Comment


      • #4
        Re: Custom Variables

        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.

        Comment

        Working...
        X