Re: Getting DiskDrive Space
- From: "Rick Bean" <rgbean@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Sep 2005 11:05:36 -0400
Lee, Unfortunately it's near impossible to make a Windows API call from FP DOS. <g>
Rick
"Lee Mitchell" <Leemi@xxxxxxxxxxxxxxxxxxxx> wrote in message news:vCyXo3UvFHA.768@xxxxxxxxxxxxxxxxxxxxxxxx
Hi Shay:
I found code on Universalthread.com that allows you to get disk space statistics beyond 2 GB. Go to www.universalthread.com, click on the Download icon, and choose Visual FoxPro as the product. In the ID text box of the query page, search for "9718."
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely, Microsoft FoxPro Technical Support Lee Mitchell
*-- VFP9 HAS ARRIVED!! --* Read about all the new features of VFP9 here: http://msdn.microsoft.com/vfoxpro/
*--Purchase VFP 9.0 here: http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52 69-4500-8bf2-3f06689f4ab3&type=ovr
Keep an eye on the product lifecycle for Visual FoxPro here: http://support.microsoft.com/gp/lifeselectindex - VFP5 Mainstream Support retired June 30th, 2003 - VFP6 Mainstream Support retired Sept. 30th, 2003
But it doesn't return a good value for any partition greater than ~2GB -thatwas an "ultimate" limit in DOS.
Rick
"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message news:%23LCQQpjuFHA.1472@xxxxxxxxxxxxxxxxxxxxxxx The diskspace() function has been around forever.
Dan
SHAY wrote:Hello EveryOne, I generally write programs in FPD 2.6 , now i have to write a small program that would check the availabe disk drive on the system and if its low it should notify me with an alert . As couple of times we have run short of the disk space & did'nt know till the things started running really slow. please help. thank you in advance
.
- References:
- Re: Getting DiskDrive Space
- From: Dan Freeman
- Re: Getting DiskDrive Space
- From: Rick Bean
- Re: Getting DiskDrive Space
- From: Lee Mitchell
- Re: Getting DiskDrive Space
- Prev by Date: Re: VFP6-VFP9
- Next by Date: RE: InstallShield Express "Limited Edition" which is delivered with VFP7
- Previous by thread: Re: Getting DiskDrive Space
- Next by thread: Retrieving values from a ListBox control!
- Index(es):
Relevant Pages
|