Here is the sample code:
For Each strFile As String In My.Computer.Fil eSystem.GetFile s("c:\")
lstData.Items.A dd(strFile)
If strFile.ToStrin g.StartsWith("c :\IO") Then
MessageBox.Show (strFile & " is in the root!")
Exit For
End If
Next
End Sub
What can I change in that code to look up for the biggest file on the root.
Thanks,
For Each strFile As String In My.Computer.Fil eSystem.GetFile s("c:\")
lstData.Items.A dd(strFile)
If strFile.ToStrin g.StartsWith("c :\IO") Then
MessageBox.Show (strFile & " is in the root!")
Exit For
End If
Next
End Sub
What can I change in that code to look up for the biggest file on the root.
Thanks,
Comment