Results 1 to 4 of 4

Thread: Windows Mobile 5.0 - Saving and Loading Text

  1. #1

    Thread Starter
    Hyperactive Member knxrb's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Posts
    321

    Exclamation Windows Mobile 5.0 - Saving and Loading Text

    I need some help please.

    I need some code that will save some text from some label's into a single text file(data.txt) and save it onto a Windows Mobile 5.0 pda.


    It needs to save in this format:


    label1.text
    label2.text
    label3.text
    label4.text
    label5.text
    label6.text
    label7.text


    label8.text
    label9.text
    etc...


    I also need some code for a normal visual basic 2005 application to load the text from the text file(data.txt) into some more labels.

    Preferably I would like some actual code not links to code. But if there is nothing else...

    I would also like some code that when the pda is connected to the computer by Activesync 4.5 it will automatically copy the text file(data.txt) from the directory on the pda into a directory on the pc.

    I know nothing about the directories in Windows Mobile 5.0 so in the code please put the pda directory for Program Files\RFG\data.txt

    If you can help then please post!

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Windows Mobile 5.0 - Saving and Loading Text

    Did you read the answer that was posted to your question yesterday?
    That is code showing how to write to a text file.
    If you want to read from a text file, there is a sample, with code, in the help file.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Hyperactive Member knxrb's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Posts
    321

    Re: Windows Mobile 5.0 - Saving and Loading Text

    I don't have the help file.

    -----
    knxrb

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Windows Mobile 5.0 - Saving and Loading Text

    In which case you need to do a repair on your installation which should install it. The questions you are asking seem to point to the fact that you need the help file as the answers to most of your questions are immediately available.

    If not, you can set VS2005 to go to the internet for help, as opposed to using local help

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width