Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Read registry binary

$
0
0
So today i wanted to work with registry but i'm having a problem.

With the code here:

dim binary as byte = My.Computer.Registry.GetValue("REGISTRY PATH", "keyhere", Nothing)


I can read anything thats a string, But if i try reading a REG_BINARY it just give me an error:

"Conversion from type 'Byte()' to type 'Byte' is not valid."

My question is:

How can i read a registry thats binary and print it in a message box.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>