Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get disk free space
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00067795
Message ID:
00067906
Views:
25
>Is there a function in VB (3.0 and above) that would return the available disk space?
>I tried finding something in the help files, but I believe I'm missing something obvious.
>TIA
>Sorin

There is no VB function to solve this problem. In 32-bit VB4 and in VB5 you can use the
Windows API function GetDiskFreeSpace. There's no easy solution in 16-bit VB, but some
programmers have found a function called DiskSpaceFree in one of the setup kit DLLs.
I don't recommend this because the setup kit can be removed after setup, but it
might be the only reasonable solution for 16-bit programs.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform