How can I see files from project using Emulator?

N

Nina

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".
 
C

Chris Tacke, eMVP

Don't start another thread for the same question. You're getting answers in
the other thread, so keep your question there.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top