Hi,
I cannot seem to get RegistryKey.GetValue to work properly.
It converts some of the hex values to some weird string values.
For example, I am trying to retrieve this REG_DWORD from HKLM:
3624341772
My code used the RegistryKey object and the GetValue function.
'----
aKeyVal = ORegistry.GetValue(path)
Dim sVal as value = CStr(aKeyVal)
'----
but sVal comes back as -670625524.
Please help to get the correct value.
If I return the Hex value of thr DWORD, it is correct.
But RREGCHG.EXE, something I need to do remote reg edit, does not work with hex value.
And I don't know how to convert hex to long.
Thanks,