You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
ws.script
About this tag
The ws.script tag covers discussions about using Windows Scripting Host (WSH) with the WScript object, particularly in VBA or VB environments. A common topic is writing to the Windows registry, where users report that methods like WScript.Shell's RegWrite work in Windows XP but encounter issues in Windows 7 due to registry redirection or permission changes. The tag focuses on troubleshooting registry access via scripting, including creating and setting registry keys, and adapting code for different Windows versions.
I am not able to figure out how to write to the registry in VB or VBA.
I tried using the windows APi and WS.Script, both work in the XP environment, but not Win7
I just need to create a key and set the key value. MY current code I am using can read the key if I manually create it.
I have read...