[AccessD] Writing to Registry

John Clark John.Clark at niagaracounty.com
Thu Feb 13 09:40:00 CST 2003


Hey Seth, 

I would be interested in this myself. I was trying to figure out how to
store a value used for a program, and I was having trouble using a
table. Basically, I wrote a program about a year or so ago, that tracks
mileage and creates a report for compansation. The rate per mile changes
every three months or so...actually they usually only change it
annually...and I had to hard code it to get it out. Coincidentally,
today I had to get into it and update it...the rate just dropped from
.365 to .360. It would be nice to store this somewhere.

Thanks

John W Clark

>>> sgsax at ksu.edu 02/13/03 10:15AM >>>
Richard,

No problem at all.  There are some of built-in registry read/write
functions, but they are not very flexible.  I have a module that
contains code for reading and writing anywhere from the registry.  I
can
post it here or send it offline if you like.

The path to msaccess.exe is already stored in the registry in here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths\MSACCESS.EXE

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths

contains subkeys which list the paths to most of your installed
software.

Seth


On Thu, 2003-02-13 at 03:13, Griffiths, Richard wrote:
> Hi Group
> 
> I now store some details about my application in the local settings
of the
> registry (eg MSAccess.exe folder and data folder location) - anyone
foresee
> problems with this?
> 
> Richard

-- 
Seth Galitzer			sgsax at ksu.edu 
Computing Specialist		http://puma.agron.ksu.edu/~sgsax 
Dept. of Plant Pathology
Kansas State University

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com 
http://databaseadvisors.com/mailman/listinfo/accessd 
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list