X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
   Reply to this topicStart new topic
> Use Windows Registry for your Access Applications    
post Feb 8 2004, 03:19 PM

Posts: 10
Joined: 2-October 02

When creating multi-user apps, it is nice to have a place to store user-specific or machine-specific information. Examples would be: a users default save directory, allowing a user to set up a particular default form, etc.
The windows registry is a database of application settings (designed to replace the old .ini file which was commonly used with Windows 3.1).
Using API's, it is not too difficult to set up registry keys and entries for your application. The attached mdb is written in 97 and allows for creating, modifying, reading, and general management of registry entries (keys) and data. ANY MANIPULATION OF THE REGISTRY SHOULD BE DONE WITH GREAT CARE, YOU SHOULD NOT CHANGE OR DELETE AN ENTRY UNLESS YOU KNOW WHAT YOU ARE DOING. The mdb walks you through the creation of your own entry - there is no danger in this as long as you don't get reckless.
The API's are all 32 bit and I believe they'll work with any post 3.1 environment.
I'd appreciate feedback as to any conditions where they do not work properly.
Have fun,
Attached File(s)
Attached File  RegTools.zip ( 47.26K )Number of downloads: 572
Go to the top of the page
post May 14 2015, 10:06 PM

Posts: 526
Joined: 23-November 11
From: Tampa, Florida, USA - UTC -5:00

Attached is a newer zip file with the module converted for Access 2003 .mdb and for 2010 .accdb. The important part of the app is the module of course, the form being a simple demo.

The module was written for the Windows 32 API, and will not work with Access x64.
Attached File  RegTools_97_2003_2010.zip ( 115.25K )Number of downloads: 212
Go to the top of the page

Custom Search

RSSSearch   Top   Lo-Fi    20th November 2018 - 10:35 AM