Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate KG,GB from Bytes
Message
From
17/07/2006 03:28:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Calculate KG,GB from Bytes
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Miscellaneous
Thread ID:
01136867
Message ID:
01136867
Views:
63
Hi,

I am using the GetDiskFreeSpaceEx API to get the Current Drive's Disk space. I want to display the total space and free space available on the disk.
The GetDiskFreeSpaceEx return the value in bytes.

Is there any wan I can convert the Bytes to MB or GB.

Any Suggestions.
Regards,
JD
Next
Reply
Map
View

Click here to load this message in the networking platform