943,547 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Marked Solved
  • Views: 5228
  • C# RSS
Sep 8th, 2008
0

Saving data to a new text file on windows mobile

Expand Post »
Hi Guys,

Surely this shouldnt be such a complex task! I have done this before for a desktop application where I typed in data on the UI clicked a button and a new text file was created on the C: drive and the data added.

Ive been googling and googling and searching forum upon forum but Im not having much luck.

I have already set up a VB project but my C# skills are stronger so I felt it would be wise to get it working using a language im more familiar with before delving into the deep end.

Just to give an overview of what I am doing:

A sales rep conducts questionnaires with customers via pen and paper ... I have to modernise this approach so that it uses windows mobile 6.

Im rather new to mobile development and cant suss out how/where to store the NEW file on the device so that I can then attach the file to an email...

Please could someone help point me in the right direction for this, I would be very greatful

thanks

Elmo
Reputation Points: 30
Solved Threads: 0
Junior Poster in Training
Elmo_loves_you is offline Offline
85 posts
since Mar 2008
Sep 8th, 2008
0

Re: Saving data to a new text file on windows mobile

Surely it has an equivelent of "My documents"?
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Sep 9th, 2008
0

Re: Saving data to a new text file on windows mobile

Just incase anyone is interested ... Ive found a thread that explains the mobile file structure and how to find the new file you just created ....

http://forums.msdn.microsoft.com/en-...-469303309953/

Reputation Points: 30
Solved Threads: 0
Junior Poster in Training
Elmo_loves_you is offline Offline
85 posts
since Mar 2008
Oct 25th, 2011
0
Re: Saving data to a new text file on windows mobile
add new button and event for button
{
OpenFileDialog dijalog = new OpenFileDialog();
dijalog.ShowDialog();
TextBox.Text = dijalog.FileName;
}
adn you will see path of any folder, than you can use this path in your program
Reputation Points: 10
Solved Threads: 0
Newbie Poster
martinopresnik is offline Offline
1 posts
since Oct 2011

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: C# built in classes and visual studio help
Next Thread in C# Forum Timeline: XNA Array problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC