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
Dim iret As Long Const SW_SHOWNORMAL = 1 iret = ShellExecute( 0, "Open", targetfilenameandpath, "", "c:\", SW_SHOWNORMAL )