General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only