Board index » delphi » registry - setting default values

registry - setting default values

How does one go about setting the default values in the registry?

//snip
    Registry.RootKey := HKEY_LOCAL_MACHINE;

Registry.OpenKey('\SOFTWARE\Classes\Folder\shell\RunMyProg\command',
true);
//snip

-Matt

 

Re:registry - setting default values


Quote
M. Rung wrote:

> How does one go about setting the default values in the registry?

> //snip
>     Registry.RootKey := HKEY_LOCAL_MACHINE;

> Registry.OpenKey('\SOFTWARE\Classes\Folder\shell\RunMyProg\command',
> true);
> //snip

Use a subkey of ''.

--

Personal Pages              http://www.midnightbeach.com/jon
Programming Publications    http://www.midnightbeach.com/jon/pubs
Homeschool Resource Page    http://www.midnightbeach.com/hs

Other Threads