Registry reading
- From: "fniles" <fniles@xxxxxxxxxx>
- Date: Mon, 21 Aug 2006 13:38:22 -0500
To read a registry entry, I used the following code:
m_MultiplyBy10 = GetSetting("MyApp", "MySection\Data", "MultiplyBy10",
"CC,DD")
I would like to loop thru all the keys in a registry entry, how can I do
that ?
For ex, for the following entries, I would like to programmatically loop
thru all the keys under MyApp\MySection\Data, how can I do that ?
[HKEY_CURRENT_USER\Software\VB and VBA Program
Settings\MyApp\MySection\Data\A]
"Operator"="/"
"OperatorValue"="10"
"Format"="#####"
[HKEY_CURRENT_USER\Software\VB and VBA Program
Settings\MyApp\MySection\Data\B]
"Operator"="*"
"OpeatorValue"="10"
"Format"="######"
[HKEY_CURRENT_USER\Software\VB and VBA Program
Settings\MyApp\MySection\Data\C]
"Operator"="*"
"OpeatorValue"="100"
"Format"="######"
.
- Follow-Ups:
- Re: Registry reading
- From: Ken Halter
- Re: Registry reading
- Prev by Date: Re: Get column information from recordset
- Next by Date: Re: Move images and text on form?
- Previous by thread: Re: problem
- Next by thread: Re: Registry reading
- Index(es):