Gets a list of files and folders in a specified path.
Syntax:
Parameters:
Returns:
Object of type FREDI.ediFiles if the call is successful; Empty if the call fails.
Example
Dim oEdiDoc As Fredi.ediDocument
Dim oFileSystem As Fredi.ediFileSystem
Dim oFiles As Fredi.ediFiles
Dim oFile As Fredi.ediFile
Dim sFilesList As String
' Create instance of Framework EDI.
Set oEdiDoc = New Fredi.ediDocument
' Get file system object.
Set oFileSystem = oEdiDoc.GetFileSystem
' Get the files in the folder.
Set oFiles = oFileSystem.GetDirectory(App.Path & "\SomeFolder\")
sFilesList = vbCrLf
For Each oFile In oFiles
sFilesList = sFilesList & oFile.FileName & vbCrLfNext
MsgBox sFilesList
Samples