ファイルの有無をチェックする
Declare Function PathFileExists Lib "shlwapi.dll" Alias "PathFileExistsA" _
(ByVal lpszPath As String) As Long
Declare Function PathFileExists Lib "shlwapi.dll" Alias "PathFileExistsA" _引数
(ByVal lpszPath As String) As Integer
ファイル名戻り値
ファイルが存在するとき 1備考
ファイルが存在しないとき 0
具体的な使い方はサンプルを参照。サンプル