Click here to Skip to main content
15,902,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I am working on an win mobile application. I am getting data from a form and storing data in a file. Everything is working fine.
I am using win mobile 5 sdk for this.

But whenever I am closing my application/simulator, file is removed from the application.

Can anyone please tell me how can I store the files permanently in mobile?

Help needed soon :(
Posted
Updated 27-Oct-10 0:46am
v2
Comments
Sandeep Mewara 27-Oct-10 6:45am    
Please avoid using text speaks from next time. (evry1, nyone, plz)... you are at professional website.
Ashutosh kumar Tripathi 28-Oct-10 0:58am    
ohhk sandeep ... i will take care of this next time... thanx

1 solution

What do you mean by "file is removed from the application"?

Is the file deleted, or is it that the next time you run your app you can't see the file.

If it is the latter, then highlight the file in Solution Explorer, hit F4 to go to the Properties Window and change the 'Copy to output directory' setting to 'Copy if newer'.
 
Share this answer
 
Comments
Ashutosh kumar Tripathi 27-Oct-10 6:54am    
file is deleted...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900