Framework EDI Reference. Methods and Properties
ediFile. IsFolder

Indicates if the object pertains to a folder.

Syntax:

 

Example

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

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

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

' Get file object.
Set oFile = oFileSystem.GetFile(App.Path & "\TestFile.TXT")

If oFile.IsFolder Then

MsgBox oFile.FileName & " is a folder"
Else
MsgBox oFile.FileName & " is NOT a folder"
End If

Samples