Hey all,
What is the simplest way to check for an existing file. Every method shown to me in my text and the information gained from the Visual Studio help doesn't seem to work. Each one of them tells me the syntax is wrong. I just want a simple way to check for an existing text file that is in the defualt file location.
MSDN told me to use FileSystem.FileExists(file) - VS would not take this and...
My text Tony Gaddis (VB 2008) shows:
Neither of these work and I am getting frustrated as hell with this simple task! Can anyone throw me a simple fuction to use in this situation?Code:If File.Exists(FileName) Then
open file...
Else
Create file
End If

