I want to use the following to set the value of a name/value pair in the Windows XP registry:
registry.setvalue(basekeyname, keyName, Keyvalue)
How do I declare Keyvalue in visual basic so that it ends up as type REG_BINARY in the registry.
I've tried the following declaration but the value shows up as type REG_SZ in the registry:
dim Keyvalue as byte = 0
thanks, Jim
Dim Keyvalue as byte() = {0}