C
clipper
Like this:
Dim strPathRemoteNotepad As String
Dim strPathRemoteTextFile As String
Dim strCommand As String
strPathRemoteNotepad = "\\tsclient\c\windows\notepad.exe"
strPathRemoteTextFile = "\\tsclient\c\test123.txt"
strCommand = strPathRemoteNotepad & " " & strPathRemoteTextFile
If Shell(strCommand, vbNormalFocus) Then
' app started successfully
Else
MsgBox "Startup of remote notepad failed: please contact the database admin.", vbCritical
End If
Dim strPathRemoteNotepad As String
Dim strPathRemoteTextFile As String
Dim strCommand As String
strPathRemoteNotepad = "\\tsclient\c\windows\notepad.exe"
strPathRemoteTextFile = "\\tsclient\c\test123.txt"
strCommand = strPathRemoteNotepad & " " & strPathRemoteTextFile
If Shell(strCommand, vbNormalFocus) Then
' app started successfully
Else
MsgBox "Startup of remote notepad failed: please contact the database admin.", vbCritical
End If