RegistryKey

V

Vivek Sharma

Hi All,

Can any one guide me for how to access registrykey using msaccess 2003?

Thanks
Vivek
 
D

Dirk Goldgar

Vivek Sharma said:
Hi All,

Can any one guide me for how to access registrykey using msaccess
2003?

You can use the built-in GetSetting function and SaveSetting statement
to read and write registry settings in a very specific subtree of the
registry. For more general access to the registry, you have to call
Windows API functions. I don't have any code handy to do that, but if
you do a Google Groups search (at http://groups.google.com ), I'm sure
you'll find lots of code samples that have been previously posted.
 
D

Douglas J. Steele

Dirk Goldgar said:
You can use the built-in GetSetting function and SaveSetting statement
to read and write registry settings in a very specific subtree of the
registry. For more general access to the registry, you have to call
Windows API functions. I don't have any code handy to do that, but if
you do a Google Groups search (at http://groups.google.com ), I'm sure
you'll find lots of code samples that have been previously posted.

http://www.mvps.org/access/api/api0015.htm at "The Access Web" will read
from the registry.

For writing to the registry, I've used the code from
http://www.thescarms.com/vbasic/registry.asp successfully.
 
Top