Thread: Move to specified line in CSV file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    Registered User
    Join Date
    Nov 2006
    Posts
    224
    Thanks for suggestions!!

    Okay, so how about this:

    - I copy the file content in to memory (up until the line that I specify).
    - Delete the file (can i do this independent of platform?)
    - open up the file again of the same name.

    I dont want to rename because I am sending program over a network and it gets complicated. I dont want to open a new file because I want to continue to use the file handle I already have created for collecting data.

    Any ideas or examples for me to do this?
    Or alternative ideas?
    the easier the better!!

    thanks
    Last edited by strokebow; 07-02-2012 at 10:31 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 06-07-2012, 02:50 AM
  2. Move pointer to next line in .txt file
    By motarded in forum C++ Programming
    Replies: 6
    Last Post: 03-01-2006, 10:18 AM
  3. Move the Caret to a line
    By TheDan in forum Windows Programming
    Replies: 3
    Last Post: 08-07-2005, 12:59 PM
  4. How do you move up a line?
    By epb613 in forum C Programming
    Replies: 3
    Last Post: 05-31-2005, 01:44 PM
  5. How do I make my edit box move text to the next line?
    By ElWhapo in forum Windows Programming
    Replies: 2
    Last Post: 01-04-2005, 11:21 PM