[CODE]Private Sub Command13_Click()
Dim a
Shell "REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDrives /t REG_BINARY /d 00000000 /f"
a = MsgBox("显示成功,请注销即可显示效果。" & Chr(13) & Chr(10) & Chr(13) & "是否要注销?", vbOKCancel, "是否注销")
If a = vbOK Then
Shell shutdown - lElse
End If
End Sub[/CODE]
我刚开始在Winrar里面看文本的,加粗这行半天没明白是要干啥,用VB开了之后也搜不到这个变量、对象……
提示: 字符串用引号括起来