Article ID: 143403
Article Last Modified on 5/7/2003
#If Win32 Then
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
#Else
#End If
#If Win32 Then
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
#Else
Private Declare Function ShellExecute Lib _
"shell32.dll" (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
#End If
Private Declare Function ShellExecute Lib _
"shell32.dll" Alias "ShellExecuteA" _
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
Keywords: kbprb KB143403