2020年7月10日 星期五

vb.net 取得檔案大小 [Get File Size]

1
2
3
4
5
6
            Dim myFile As New FileInfo("C:\Text.exe")
            If myFile.Length = 0 Then
                MsgBox("空白")
            Else
                MsgBox("非空白")
            End If

沒有留言:

張貼留言