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