How can i read a value from HKEY_CURRENT_USER\TEST\OK
I have string parameter called <Id> and have the value <1234>
So how can i get in my text box the value of <Id>?????
Printable View
How can i read a value from HKEY_CURRENT_USER\TEST\OK
I have string parameter called <Id> and have the value <1234>
So how can i get in my text box the value of <Id>?????
Use the attached class module along with this code:
VB Code:
Dim objReg As clsRegistry Set objReg = New clsRegistry Text1.Text = objReg.GetValue(eHKEY_CURRENT_USER, "TEST\OK", "Id") Set objReg = Nothing
Or you could try this class . . .