问题出在哪?谢谢!
Private Declare Function WinExec Lib "kernel32" (ByVal lpCmdLine As String, ByVal nCmdShow As Long) As Long
Private Sub Command1_Click()
Dim i As Integer
i = WinExec("notepad.exe", "c:\wst.txt", 9)
If i > 32 Then
MsgBox "调用下确!!"
Else
MsgBox "调用错误!!"
End If
End Sub