The title basicly speaks for itself. i need some code to add a string value in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices
and then to modify the value data. i have checked every where on google and this site, and anything i have found has not worked. Thanks in advance!

dim wsh
set wsh = createobject("WScript.Shell")
wsh.regwrite "HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices\MyService", "c:\path2myapp\myapp.exe", "REG_SZ"
set wsh = nothing
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.