Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FSO OLE Error Code
Message
From
17/12/2001 16:13:07
 
 
To
17/12/2001 16:11:31
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00595266
Message ID:
00595347
Views:
51
This message has been marked as a message which has helped to the initial question of the thread.
>>
>>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
The code I used was:
Dim oFolder As Scripting.Folder
Dim oFSO As Scripting.FileSystemObject
Set oFSO = New Scripting.FileSystemObject
Set oFolder = oFSO.GetFolder("C:\")
MsgBox oFolder.Size
Previous
Reply
Map
View

Click here to load this message in the networking platform