Ho avuto dei problemi del genere che ho risolto con ShellExecute (sempre che sia già definito il programma che apre i file con la tua estensione)
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, lpdirectory As String, nshowCmd As Long) As Long
ShellExecute Me.hwnd, "open", NomeDelFile, "", "", vbNormalFocus
|