Indigo Rose Software
  #1  
Old 04-21-2000
mpoole mpoole is offline
Forum Member
 
Join Date: Apr 2000
Location: Oxnard
Posts: 2
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  
Old 04-24-2000
Support Support is offline
Super Moderator
 
Join Date: Jan 2000
Location: Indigo Rose Corporation
Posts: 204
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  
Old 04-24-2000
mpoole mpoole is offline
Forum Member
 
Join Date: Apr 2000
Location: Oxnard
Posts: 2
Grin 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.

Quote:
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
  #4  
Old 04-25-2000
Ted's Avatar
Ted Ted is offline
Indigo Rose Staff
 
Join Date: Jan 2000
Location: Seattle Area
Posts: 107
Lightbulb 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.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is On



All times are GMT -6. The time now is 06:18 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software