VB 如何利用VB修改注册表某一特定键值的值?

2024-11-20 09:27:27
推荐回答(2个)
回答1:

Set w = CreateObject("wscript.shell")
w.regwrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\" & "键名", "颤盯键值"拍姿, "键类型"袭洞绝

回答2:

CreateObject("wscript.shell").regwrite"注册表地址&键名激渣(如知庆果没有就自动新建个)","键值","键类型(如果省略默认为搭铅握字符串值)"