Hi all,
how do you get the size of a folder in vb.net?
With vb6 you could use the FileSystemObject and...
isnt there a better way nowadays?
/Kejpa
how do you get the size of a folder in vb.net?
With vb6 you could use the FileSystemObject and...
Code:
Set fso = New FileSystemObject
Set fsoFolder = fso.GetFolder(sPath)
lDirSize = Val(fsoFolder.Size)
/Kejpa