VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get file size up to a terabyte

Alex Kail  (1 Submission)   Files/File Controls/Input/Output   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Returns the file size of the file name passed in the format the user specifies

Inputs
File name, and return type (bytes, kilobytes, etc)

Returns
File size (double) in the format specified in the arguments

Side Effects
None to my knowledge

API Declarations
'Various views for file sizes
Public Enum FileSizeView
fsBytes = -1
fsKilobytes = 0
fsMegabytes = 1
fsGigabytes = 2
fsTerabytes = 3
End Enum

Rate Get file size up to a terabyte (2(2 Vote))
Get file size up to a terabyte.bas

Get file size up to a terabyte Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters