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)