querying and editing windows registry
Posted on 2006-04-11
hi, i need to do the following....
1) Open a registry key
2) if the registry key doesnot exist then create it
3) query a value from the key
4) do a comparison of this registry value with a string
5) and in the end set the registry value to a given string value
say i have HKLM\\Software\\Apps\\MyApp
MyApp has a subkey of Test (and if not i want to create it)
query the value from there and set it. Any working example is much appreciated...