Results 1 to 2 of 2

Thread: Finding a file size...

  1. #1

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Resolved Finding a file size...

    How do i find the file size of a particular file?
    Last edited by dinosaur_uk; Feb 1st, 2005 at 07:13 AM.

  2. #2

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Re: Finding a file size...

    found it ..

    VB Code:
    1. Dim fi As New IO.FileInfo("filename.txt")
    2.         MessageBox.Show(fi.Length)

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