No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Re: I just wanted to give a quick thanks! I have implemented this in VB.NET and it made a HUGE differance over the only other solution I had found: [code] [COLOR=#0000ff]Dim[/COLOR] TR [COLOR=#0000ff]As[/COLOR] IO.TextReader = System.IO.File.OpenText(file) [COLOR=#0000ff][COLOR=#0000ff]Dim[/COLOR] MyFileLine [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String[/COLOR] = Split(TR.ReadToEnd(), vbCrLf)(lineNumber - 1) [/COLOR][/code] Here is a link to … | |
I converted TGREER's C# implementation of a hacked StreamReader class to VB.NET and wanted to provide it for anybody who has run into the following issue: when using a [B]StreamReader[/B], and [B]ReadLine[/B], to process a text file, you cannot determine where you are "at" within a file. The following is … |
The End.