PDA

Click to See Complete Forum and Search --> : Changing default value in Reg


shtirliz
Jul 25th, 2001, 04:38 PM
How do I change a defalut value in reg? I have tried using "@" as a key name or (Default) as the key name, but it would just create a new key with that name.

Thanx.

Aaron Young
Jul 25th, 2001, 06:35 PM
I assume you're using the API's, just pass an empty string in the Valuename parameter to specify the "{Default}" value, i.e.Call RegSetValueEx(lRegKey, "", 0&, 1, ByVal sData, Len(sData))