devxlogo

Check Available Drive Space

Check Available Drive Space

The setup kit supplied with VB has a DLL with a useful function thatcan be called from your own applications. The function, GetFreeDiskSpace,returns the amount of free space available on a drive. Using this functionin conjunction with the VB FileLen or LOF functions, you can test whetherthere is enough space available on a drive before you try to copy or savea file.

devx-admin

Share the Post: