-
start the reading file from...
I use the tipical function:
....
Open file For Input As #1
...
ecc...
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
note:
no possible duplicate string in position mid(line, 1,8)
-
 sorry for up
Similar Threads
-
By adey in forum VB Classic
Replies: 1
Last Post: 03-12-2007, 09:54 AM
-
Replies: 1
Last Post: 12-13-2006, 07:40 AM
-
Replies: 20
Last Post: 10-25-2006, 02:55 PM
-
By Jenks in forum VB Classic
Replies: 6
Last Post: 05-24-2005, 02:22 PM
-
By Bharat in forum VB Classic
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks