In project I added folder â??Dataâ?? with â??Config.datâ?? file. I changed property
of Config.dat file to Content and property of â??Copy to Outputâ?? to â??Copy
alwaysâ??.
Now from the code I try to access that file:
If File.Exists("C:\Project\Data\Config.dat") = True Then
MessageBox.Show("File Found")
Else
MessageBox.Show("File Not Found")
End If
I got "File Not Found".