-
reading from a specific point in text file
hi everyone,
i am trying to read a text file from one point in the file to another. i don't want to read the entire file because i am getting memory exception errors. any help with this is appreciated. i am using vb.net 05. ThankS!
-
You can use the Seek method of the BaseStream class to position the file pointer for the next read. Use the ReadBlock or ReadLine methods to read a "chunk" of the file.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
thanks phil i will give it a try.
Similar Threads
-
Replies: 6
Last Post: 08-14-2005, 11:07 AM
-
By Asbestos in forum Java
Replies: 1
Last Post: 06-06-2005, 10:30 AM
-
By vimala in forum VB Classic
Replies: 1
Last Post: 03-22-2005, 11:18 PM
-
Replies: 0
Last Post: 10-01-2001, 12:19 PM
-
By Bharat in forum Database
Replies: 1
Last Post: 03-06-2001, 08:42 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