Framework EDI Reference. Methods and Properties
ediFiles. Count

Returns the number of objects in the collection.

Syntax:

 

Example

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

' 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\")

MsgBox "Enumerated files count = " & CStr(oFiles.Count)

Samples