.msc文件
有没有什么语句可以运行.msc文件
5楼运行也很好:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _
ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub Command1_Click()
ShellExecute 0&, vbNullString, "gpedit.msc", vbNullString, vbNullString, vbNormalFocus
End Sub