pbuddy2007
Technical User
I'm trying to write & edit registry values in Vista using :
I'm getting a runtime error, Is there any other way to write & read values in Vista ?
thanks !
Code:
Dim wsh
Set wsh = CreateObject("WScript.Shell")
X = 1
wsh.regwrite "HKEY_LOCAL_MACHINE\SOFTWARE\MySoft\SavedData\Profile" & X & "\ProjectName" & X & "\", txtProjectName.Text, "REG_SZ"
I'm getting a runtime error, Is there any other way to write & read values in Vista ?
thanks !