DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005

    start the reading file from...

    I use the tipical function:
    Open file For Input As #1

    to reading txt file line by line.

    But instead to init the redaing line by line...

    1) I need to find, in position mid(line, 1,8), the string INIT0000 and strat the reading of lines from here
    2) stop the reading of line from file wehen the code found in mid(line, 1,8), the string INIT0001

    please a fast method to find the first line because have peraphs 2.300.000 of lines in original txt file

    no possible duplicate string in position mid(line, 1,8)

  2. #2
    Join Date
    Mar 2005
    sorry for up

Similar Threads

  1. Reading Text From a Text File
    By adey in forum VB Classic
    Replies: 1
    Last Post: 03-12-2007, 09:54 AM
  2. Reading from file
    By cagge in forum Java
    Replies: 1
    Last Post: 12-13-2006, 07:40 AM
  3. Reading a file using structures?
    By Ralle in forum C++
    Replies: 20
    Last Post: 10-25-2006, 02:55 PM
  4. Reading and writing lines from a text file...
    By Jenks in forum VB Classic
    Replies: 6
    Last Post: 05-24-2005, 02:22 PM
  5. Replies: 0
    Last Post: 03-05-2001, 05:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

By using this site, you agree to the Privacy Policy