Results 1 to 5 of 5

Thread: Size

  1. #1

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Size

    How one can reliably get the size of any file. GetFileSize does not works properly with DLL's an GetFileSizeEx does not works properly with Text files. ??

    Any ideas ??

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Um FileLen() ?

  3. #3
    Frenzied Member Blobby's Avatar
    Join Date
    Oct 2001
    Location
    England
    Posts
    1,512
    VB Code:
    1. dim filesize as long
    2.  
    3. filesize = FileLen(filepathandname)
    There are 3 types of people in this world.........those that can count, and those that can't.

    Blobby

  4. #4

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    Does it return the size in Bytes ??

  5. #5

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    yes it does, i got it . thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width