I am having trouble finding out how to check to see if a certain file exists with VB.NET. I have seen code that uses File.Exists("C:\whatever.txt"), but when I do that I am told that file is not declared. Do I need to reference something extra in order to get this to work or am I doing it all wrong?
Thanks for any help!
