0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ファイルオープン

Posted at

指定ソフトで指定ファイルを開く

'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' ファイルオープン
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Public Function F_File_Open( _
        ByVal aFilePath As String, _
        ByVal aExePath As String, _
        Optional ByVal aExeArg As String = "", _
        Optional ByVal aAppWinStyle As VbAppWinStyle = vbNormalFocus) As Boolean
    Dim wkPath As String
    
    If Dir(aExePath) = "" Or Dir(aFilePath) = "" Then
        Exit Function
    End If
    
    wkPath = aExePath
    wkPath = M_String.F_String_ReturnAdd(wkPath, aExeArg, aDlmt:=" ")
    wkPath = M_String.F_String_ReturnAdd(wkPath, aFilePath, aDlmt:=" ")
    
    Shell wkPath, aAppWinStyle
    F_File_Open = True
End Function
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?