VB.NET - Determine the Size of a File



Determine the Size of a File


'Dim filename as String = "c:\syntaxhelp.txt"

Dim fileSize As Long 
fileSize = My.Computer.FileSystem.GetFileInfo(filename).Length

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.