Results 1 to 29 of 29

Thread: 1 line at a time ::RESOLVED::

Threaded View

  1. #1

    Thread Starter
    Registered User
    Join Date
    Sep 2002
    Posts
    221

    Unhappy 1 line at a time ::RESOLVED::

    Hi

    Can anyone show me how to get a line out from a text file 1 at a time for processing.

    For example, This text file can have a variable number of lines. I want to be able to press a commandbutton which gets the first line from the text file and displays it in a textbox.

    If I press the commandbutton a second time, the program gets the second line out and displays it the same way as above.

    Then the third line and so on until it reaches the end and stops.

    I think the EOF will need to be used.

    please help
    Last edited by jennysmith; Sep 29th, 2002 at 05:21 PM.

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