Quantcast
Channel: How to check if a txt file is empty
Viewing all articles
Browse latest Browse all 4

How to check if a txt file is empty

$
0
0

Simple:

Dim text AsString = System.IO.File.ReadAllText("path")'file is empty!If text.Length = 0 ThenEndIf



Mitja

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>