Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FSO OLE Error Code
Message
 
To
17/12/2001 16:22:09
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00595266
Message ID:
00595354
Views:
26
>>>
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>>>oFolder = oFSO.GetFolder("C:\")
>>>?oFolder.Size
>>>When I run this code from the Command Window, the .Size grinds away on my HD for about 12 seconds (which is as expected, it's scanning all folders/files) then craps out with
>>>
>>>OLE error code 0x800a0046: Unknown COM status code.
>>>
>>>I'd like to find out if it's limited to my system or if others get it too.
>>>
>>>My environment:
>>>W2K SP2 + all critical updates and security patches - logged in as Administrator
>>>IE6 6.0.2600.0000 with all security patches
>>>VFP7 build 9262 with available patches
>>
>>Al,
>>
>>I'd bet that the object is hitting the System Volume Information folder. You can't even click on that as an administrator without getting an "Access Denied" message.
>
>Thanks, I just reached the same conclusion with JCF's help - he tried it in VB and got a more helpful error message.

I saw your post after I made mine.

>OTOH this folder doesn't exist in Win9x. (AFAIK there are no folders one can't access in Win9x). I wonder why Sergey and Nadya got the same error.

I really don't know. I'll give this a shot at home, however, and let you know the results. (Don't have access to a Win98SE box here)
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform