Hi,
Could you try this and let me know if it works please
' Inside a BAS Module.
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
Public Sub StartProgram(ByVal strFileName As String)
Const SW_NORMAL = 1
ShellExecute 0, "open", strFileName, vbNullString, vbNullString, SW_NORMAL
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.