How To Get Current Drive's Free Disk Space in VB 4.0 (147686)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q147686 SUMMARY
This article shows how to find out how much free disk space is available on
the current drive by calling the DiskSpaceFree function found in
STKIT416.DLL for Win16 or STKIT432.DLL for Win32. Both dynamic-link
libraries (DLLs) ship with the Setup kit in Microsoft Visual Basic version
4.0 for Windows. The DiskSpaceFree function is useful for finding the free
space available on a drive. If you use the DiskSpaceFree function in your
Visual Basic program, you need to distribute STKIT416.DLL or STKIT432.DLL
to your customers.
Modification Type: | Minor | Last Reviewed: | 3/14/2005 |
---|
Keywords: | kbhowto kbsetup KB147686 |
---|
|