P
Phil Galey
Using the following, you can determine the size of a file:
Dim fi As New IO.FileInfo(<Path to file>)
MsgBox(fi.Length)
.... but what about the size of a directory? The IO.DirectoryInfo object
doesn't have a Length property.
In is there a way in VB.NET to determine the size of a directory without
having to resort to importing the Scripting DLL and using the
FileSystemObject? Thanks.
Dim fi As New IO.FileInfo(<Path to file>)
MsgBox(fi.Length)
.... but what about the size of a directory? The IO.DirectoryInfo object
doesn't have a Length property.
In is there a way in VB.NET to determine the size of a directory without
having to resort to importing the Scripting DLL and using the
FileSystemObject? Thanks.