terpsichore
asked on
Folder size in Access VBA
Dear experts -
We had a routine that was working perfectly, but now it is choking on determining the size of a given folder with the 3 lines below.
I imagine it has something to do with the new server, which is running MICROSOFT WINDOWS SERVER 2012 R2 Datacenter.
It seems to be choking on the following lines:
Set objfso = CreateObject("Scripting.Fi leSystemOb ject")
Set objfolder = objfso.GetFolder(thisname)
tsfoldersize = objfolder.Size
Any ideas? Alternate approaches? (We are running a report and for each directly listed, we need to show the folder size)
Thanks!
We had a routine that was working perfectly, but now it is choking on determining the size of a given folder with the 3 lines below.
I imagine it has something to do with the new server, which is running MICROSOFT WINDOWS SERVER 2012 R2 Datacenter.
It seems to be choking on the following lines:
Set objfso = CreateObject("Scripting.Fi
Set objfolder = objfso.GetFolder(thisname)
tsfoldersize = objfolder.Size
Any ideas? Alternate approaches? (We are running a report and for each directly listed, we need to show the folder size)
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER