Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FSO OLE Error Code
Message
 
 
À
17/12/2001 17:31:19
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00595266
Message ID:
00595414
Vues:
46
>>Thanks. The http://support.microsoft.com/default.aspx?scid=kb;en-us;Q225144 shows how to use GetDiskFreeSpaceEx (and this is what George's FAQ does as well for VFP), but it has this problem with >64GB drives. It seems to be a problem with Windows95 only. Windows NT returns this info correctly.
>
>Hi Nadya,
>
>Could you check which version of the WSH you're currently running?
=AGETFILEVERSION(gaArray, "scrrun.dll")
>?gaArray[4]
>If the major version is lower than 5.5, could you possibly try upgrading to 5.5 ( http://www.microsoft.com/msdownload/vbscript/scripting.asp ) and see if you still get the original OLE error, and size errors for drives > 64GB?
>
>BTW it looks like 5.5 is the latest version available for W95. 5.6 (at this point) requires W98 or later.

I'm at home now. Windows 98.
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
oDrive = oFSO.GetDrive("C:\")
?oDrive.AvailableSpace && or
?oDrive.TotalSize
?oDrive.FreeSpace
?oDrive.Size
=AGETFILEVERSION(gaArray, "scrrun.dll")
?gaArray[4]

It gave me the same Error and same problems. My current version is 5.0.0.3715

I'll try to upgrade and post back results.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform