Hi team!
I know how to add DWORD and String Values, for DWORd I use an Integer, and for String I use a Text with “”.
Like
myRegItem.value(key) = myValueInt — for DWORD
myRegItem.value(key) = “myValueStr” for String
But I dunno how to write a Reg_binary value.
Is it possible to do that?
Thanks
[quote=269575:@Gerardo García]Hi team!
I know how to add DWORD and String Values, for DWORd I use an Integer, and for String I use a Text with “”.
Like
myRegItem.value(key) = myValueInt — for DWORD
myRegItem.value(key) = “myValueStr” for String
But I dunno how to write a Reg_binary value.
Is it possible to do that?
Thanks[/quote]
I Solved my answer using a MemoryBlock, like that:
Dim mb As New MemoryBlock(0)
reg3.Value("PWD") = mb
Now the Issue is how to pass it That value:
TablePassword1"=hex:ae,88,97,86,88,a7,84,86,9d,d9,c0,c7,c7 This is the original value of the Reg_binary
[quote=269580:@Gerardo García]Now the Issue is how to pass it That value:
TablePassword1"=hex:ae,88,97,86,88,a7,84,86,9d,d9,c0,c7,c7 This is the original value of the Reg_binary[/quote]
I found the answer making trial Error testing:
Dim so As String = "ae 88 97 86 88 a7 84 86 9d d9 c0 c7 c7"
Dim EncPass As MemoryBlock
EncPass = DecodeHex(so)
reg3.Value("RemoteEncryptionPassword") = EncPass
And Voila!