7,789
社区成员
发帖
与我相关
我的任务
分享
Private Sub Command1_Click()
Dim w As Object
Set w = CreateObject("Wscript.Shell")
w.regwrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons\29", "C:\1.ico", "REG_SZ" '//写注册表
End Sub
Private Sub Command2_Click()
Dim w As Object
Set w = CreateObject("Wscript.Shell")
MsgBox w.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons\29") '//读注册表
End Sub
Private Sub Command1_Click()
Dim w As Object
Set w = CreateObject("Wscript.Shell")
w.regwrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons\29", "C:\1.ico", "REG_SZ"
End Sub