Hi

i´m traing to open a file by dbclicking in listbox but....nothing
Here´s the code i used


[code]
Public 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

Public Const SW_SHOWNORMAL = 1


Public Sub Open_file_Excel()
Dim OK As Long
OK = ShellExecute(0&, vbNullString, "Excel", vbNullString, "c:\", SW_SHOWNORMAL)
End Sub
[code]


If i dbclick in a file it opens the excel but not the file...so there´s some parameters that open any file??


Thanks