Hi,
Thank for your help, I had use the driveinformation class.
However, I still want to know the way to create a similar class using my own code instead of using other code. Please advise me on how to go about or the API to use. Thank a lot.
>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.
Best Regards
Virusim