Crisena Language
put words into my mouth and some in my brains
Pages
Home
Sunday, January 30, 2011
Get File Size
Dim fileDetail As IO.FileInfo
fileDetail = My.Computer.FileSystem.GetFileInfo(Application.StartupPath + "\FILE.LOG")
If fileDetail.Length < 1500 Then '1500 bytes
'code here
End If
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment