Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FSO OLE Error Code
Message
De
17/12/2001 14:54:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00595266
Message ID:
00595297
Vues:
26
>On my Win98SE it took only a second to get the same error. I got the same error for my local D drive and the network H drive.
>
>>
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

On the second and subsequent trials I get the error in less than a second, too. I'm pretty sure Windows caches the results of the scan. If you were doing anything that accesses the same Windows data it might have already been cached.

After failures in VFP7, I tried in VFP6 SP5 and VFP5 SP3. Same problem in less than a second.

I restarted my machine and tried it again in VFP6; same problem (after the 12 second scan).
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform