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.
-
M
Windows 7 VBA write to registry Win 7
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...- mhnwin7
- Thread
- api environmental key generation key value redirect registry vba visual basic windows 7 ws.script
- Replies: 1
- Forum: Windows Help and Support