I want to be able to add image files (jpg) to listbox1 if the size is more than 25kb. I can't use fileinfo?
Dim myfileinfo As FileInfo
Dim mydir As DirectoryInfo = New DirectoryInfo("c:\sample")
For Each myfileinfo In mydir.GetFiles
if the size of the file >25 kb then add it to listbox1 ++++++++++++++++++++++