I want to use WScript.RegRead to read a binary registry value, then convert that into a String. Here is my example:
————————————————-
‘ declare variables
Dim sVal, bData, sData
‘ create scripting objects
Set oWshShell = WScript.CreateObject(“WScript.Shell”)
‘define variable
sVal = “HKCRWord.Document.8EditFlags”
bData = oWshShell.RegRead(sVal)
–insert function to convert binary value to a string–
(i.e., bData => sData)
———————————-
I need to be able to display the EditFlags as text, so I am assuming that I must convert the binary data to a string first. I have found some recommendations on web sites, but none actually work the way I want them to…
Thanks.