This is probably pretty basic, but I'm trying to find out how I can find the first file in a directory?
For example, if I've got these lines of code
Dim di as New IO.DirectoryInfo("C:\Test")
Dim aryFi as IO.FileInfo() = di.GetFiles("*.txt")
I can see that the aryFi contains a list of all files, but I need only one and I need the full path of that one file. How can I get it?