Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FSO OLE Error Code
Message
From
17/12/2001 16:11:31
 
 
To
17/12/2001 16:05:06
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00595266
Message ID:
00595345
Views:
28
>>>
>>>I get the same error too (on W2K). If you want to get the drive's size, you can also do this:
>>>
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>>>oDrive = oFSO.GetDrive("C:\")
>>>?oDrive.AvailableSpace && or
>>>?oDrive.TotalSize
>>>HTH
>>
>>I wonder if this is limited to Fox... can someone try it in another language (VB, anyone? < g >)
>
>I get a "Error 70, Permission is denied"

Ah, that's useful - I was wondering about permissions. For example, in W2K there is a folder "C:\System Volume Information" to which one has no access - even as Administrator. Sure enough, if I do
oFSO = CREATEOBJECT("Scripting.FileSystemObject") && OK
oFolder = oFSO.GetFolder("C:\System Volume Information") && OK
?oFolder.Size && Same error
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform