Use my DriveInformation class (from the Files section). It reports the correct size even for drives > 2GB.
Vlad
>When I use the function diskspace to check for the total disk size left on my 6.4G hardisk, it always display only 2G plus of disk space which is incorrect, what did I miss out which cause this problem ?
>
>My code is
>
>? diskspace() giving me 2147155968 as the answer.
>
>
>Next, my own function when execute just before a READ EVENTS
>code, will just do half way or didn't complete the whole function before it go to the next code. On exit, funtion will continue to execute when it stop initially, why ?
>
>Any helps or suggestions is very much appreciated.
>
>Thank you.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement