Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help with Writing binary data tot the registry

Status
Not open for further replies.

fonnerk

Programmer
May 9, 2002
2
US
I am using vbscript to edit data in the registry. When I grab the data out of the registry it is an array of integers. I edit it however it now seems that I cannot write the data back to the registry as the array. It states that I have to write the data back as a single DWORD value.

Here is the code I use to pull the data out...
***********
Set Sh = CreateObject("WScript.Shell")
key = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\"
regkey = Sh.RegRead (key & "Config")
************
regkey is the array of integers. How can I write this back into the registry?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top