Sep 5, 2003 #1 J Jay1b Well-known member Joined Aug 3, 2003 Messages 640 Location Kent, Uk. Could someone please tell me how to find out the size of a textfile in vb.net please? I did search for it on here but i couldnt see anything obvious.
Could someone please tell me how to find out the size of a textfile in vb.net please? I did search for it on here but i couldnt see anything obvious.
Sep 5, 2003 #2 hog Well-known member Joined Mar 17, 2003 Messages 984 Location UK FileInfo.Length returns the file size
Sep 5, 2003 #3 J Jay1b Well-known member Joined Aug 3, 2003 Messages 640 Location Kent, Uk. I thought that returned the number characters in the file?
Sep 5, 2003 #4 samsmithnz Well-known member Joined Jul 22, 2003 Messages 1,038 Location Boston Originally posted by Jay1b I thought that returned the number characters in the file? Click to expand... Jay, if it really is a text file, thats the same thing (1 byte = 1 character) Sam
Originally posted by Jay1b I thought that returned the number characters in the file? Click to expand... Jay, if it really is a text file, thats the same thing (1 byte = 1 character) Sam
Sep 6, 2003 #5 J Jay1b Well-known member Joined Aug 3, 2003 Messages 640 Location Kent, Uk. hmmmm..........good point! Tried it with an mp3 file and it works fine, sorry for doubting u Hog. Thanks. Last edited by a moderator: Sep 6, 2003
hmmmm..........good point! Tried it with an mp3 file and it works fine, sorry for doubting u Hog. Thanks.