Framework EDI Reference. Methods and Properties
ediFileSystem. IsFileExists

Determines if an external file exists.

Syntax:

Parameters:

 

Example

Dim oEdiDoc As Fredi.ediDocument
Dim oFileSystem As Fredi.ediFileSystem

' Create instance of Framework EDI.
Set oEdiDoc = New Fredi.ediDocument

' Get file system object.
Set oFileSystem = oEdiDoc.GetFileSystem

' Test for file that exists.
If oFileSystem.IsFileExists(App.Path & "\TestFile.TXT") Then

MsgBox "File exists"
Else
MsgBox "File does not exist"
End If

Samples