Click to See Complete Forum and Search --> : Retrieving (Default) data from Registry
Sleezy
Nov 6th, 2000, 07:24 PM
Anyone have any experience in retrieving the (Default) value data from the Registry?
Thanks for any help.
-Sleezy
aturner
Nov 7th, 2000, 05:39 AM
default??
Flaming_Monkey
Nov 7th, 2000, 09:41 PM
It's a value in every registry key section aturner.
Well, aside from reading it the same way you would any other value, no idea. Make sure you have the brackets and other things the same as in regedit...
Simply omit the Value section when you retrieve the value for your data.
GetRegData "HKEY_CURRENT_USER", "Software\MyApp", ""
As you can see, I left the last value out, therefor it will return the "(default)" value.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.