The Directory.GetFiles method returns a string array of all files in a directory. Presumably, the first element in this array will be the "first" file in the directory.
When you have the path to the file, you can use File.Open to open it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.