Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpszOp As String, ByVal lpszFile As String, ByVal lpszParams As String, ByVal lpszDir As String, ByVal FsShowCmd As Long) As Long Private Declare Function GetDesktopWindow Lib "user32" () As LongCall ShellExecute(GetDesktopWindow, "Open", strFileName, "", "c:", 1)我一般都这样子用
Private Declare Function GetDesktopWindow Lib "user32" () As LongCall ShellExecute(GetDesktopWindow, "Open", strFileName, "", "c:", 1)我一般都这样子用