Ronald L

I need to write the following value to a registry key and cannot figure out how to do that. It is a REG_Binary value and Passwod is the key name.

"Password"=hex:85,70,2e,d0

Thanks for the help.



Re: Visual Basic General Registry Value Write Issue

Rick

This link will show you how:

http://support.microsoft.com/kb/q316151/





Re: Visual Basic General Registry Value Write Issue

Ronald L

Sorry, but I am fairly new to this.

How would I do it with something like this.

objReg.setBinaryValue()

I am doing some like this with DWORD values.

Thanks again.





Re: Visual Basic General Registry Value Write Issue

nmadd

Hi there,
The SetValue method has one overload that takes a RegistryValueKind as a parameter. So you can try something like this


myKey.SetValue("Password", valuesGoHere, RegistryValueKind.Binary)


Hope that helps.