PDA

Click to See Complete Forum and Search --> : reg


death
Dec 16th, 1999, 05:02 AM
How do I enter and change information in the regestry.
I've looked at the tutorial but it doesn't talk sense
The path is
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
the value is nofind
the data is 1
how would I use VB to enter this into the registry
Thanks anyone

Dec 16th, 1999, 12:51 PM
you can use the RegSetValueEx API call to edit a value in the registry.

If you need some sample code I will be able to send you some.

kandan
Dec 16th, 1999, 01:43 PM
hi,

u can try this function...

SaveSetting appname, section, key, setting

it Saves or creates an application entry in the application's entry in the windows registry.

Appname Required:String expression containing the name of the application orproject to which the setting applies.

Section Required: String expression containing the name of the section where the key setting is being saved.

Key Required: String expression containing the name of the key setting being saved.
setting Required.Expression containing the value that key is being set to.

likethis for getting info u can use..

GetSetting(appname, section, key[, default])

hope this will clear ur doubt...

kandan.

death
Dec 16th, 1999, 08:57 PM
Yes thankyou I can read the tips
I included the path and information so somone could please put it into vb code for me because I don't understand the tips.
This would be helpfull
Thanks for all your help