Results 1 to 3 of 3

Thread: Disk Size?!

  1. #1

    Thread Starter
    Member
    Join Date
    May 2002
    Posts
    57

    Exclamation Disk Size?!

    Few days ago I've write code in VBA (MS Access 2000) that return free space and total space on hard disk. But I have the problem. Code return wrong value 2,048 Mbytes of free space. Actually free space is 27GB. I've tried to make little .exe file in Visual Basic 6 - same result - 2147155968 bytes free space. What can cause that?!
    When I copy same code (I mean your program or .exe file what I made) on other computer I get adequate result depending of free space on HD.
    I kindly ask you to send me an answer.

    NOTE: Other programs; for hardware monitoring, WinExplorer, Commander ...etc. return exactly right size of free space and total space of HDD


    Configuration:
    AMD Athlon XP 1600+
    Windows 98SE, MS Office 2000
    HDD Maxtor DX 540 rpm; 40Gb (4D040H2 DAH01)

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    hm ... interesting --- I used the FSO model and got exactly the same results as you did. Any drive with more than 2 gigs of free space shows up as 2 gigs of free space. I hypothesise that Microsoft build this when 2 gig drives were considered the holy grail. It wouldn't be the first time they've build dumb limitations into their stuff.

  3. #3

    Thread Starter
    Member
    Join Date
    May 2002
    Posts
    57
    I think there's no limitation at 2GB, because I try that code on PC with 30 GB HD without problem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width