Results 1 to 3 of 3

Thread: [2005] Any better ideas

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2007
    Posts
    6

    [2005] Any better ideas

    For a project i made a 2 deminsional array which i had to store to a txt file

    i done it by storing every element to a seperate txt file not the most effiecent way of doing it. I was wondering if anyone knows a way of puting the whole 2 dimenional array into 1 txt file?

    just a wondering

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Any better ideas

    You should just use CSV format. Each "row" of your array would be written on its own line with commas between each pair of values.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2007
    Posts
    6

    Resolved Re: [2005] Any better ideas

    thanks man that works pefectly now i dont need to wait 20 second for it to finish.

    thanks for the help

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