Returns the size of the file or folder in bytes.
Syntax:
Remarks:
If the object pertains to a folder then the file size is zero.
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")
MsgBox "File Size: " & CStr(oFile.FileSize)
Samples