Click to See Complete Forum and Search --> : Registry entry


Baron Toft
January 14th, 2000, 02:38 AM
Hi
I have a problem regarding making entries to the
registry database. How do I chance the default
section 'My Computer\hkey_current_user\software\
vb and vba program settings' to ex.
'My computer\hkey_current_user\
software\myprogs\appname'

Pleas help me out.

Chris Eastwood
January 14th, 2000, 06:13 AM
That's the default area that the vb SaveSetting and GetSetting commands access. If you want to write to a different area of the registry, you'll need to read upon the Registry API calls.

There's a good tutorial here http://www.vbtechniques.com/ar/regclass.asp that takes you through the building of a registry class.


Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb

Baron Toft
January 14th, 2000, 06:21 AM
Thanx alot. I knew it was something like that, because there were no clues in the online help.

January 14th, 2000, 07:11 AM
I have a pretty good class module which allows to do what you want. I could send it to you. My e-mail is chapran@earthlink.net
Vlad

Baron Toft
January 17th, 2000, 01:04 AM
I'm glad you answered, but Chris Eastwood already
gave me answers to my questions, see answer above
but if you believe to have a better solution
please email it to me, and you will get a star from me.
please email me at : Toft.Kuhlmann@Image.dk

Best regards