>>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
>>ShellExecute 0, "open", "notepad.exe", "", "", 1
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
ShellExecute 0, "open", "notepad.exe", "", "", 1
上述例子是调用写字板,你可以修改一下。