[求助]使用这个函数可不可以只返回一个值
Option Explicit
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 Label1_Click()
ShellExecute Form1.hwnd, "open", "http://www.126.com", vbNullString, vbNullString, 0&
End Sub
这个一个打网页的函数,可不可以执行后不打开网页,而只是返回能否成功打开该网页的情况?大家指点一下,急需,谢谢1