elenorcoli opened this issue on Mar 15, 2007 · 4 posts
svdl posted Thu, 15 March 2007 at 7:30 AM
The Reader objects all have an EOF marker, so you can change the code into
while not objReader.EOF() do
You can read alll the lines of a textfile into an array of strings, each string will represent one line:
Dim TextLines() as string
...
TextLines=objReader.ReadLines()
...
Maybe the text file is too big to hold in memory though.
As for favorite websites, the online help of VB.NET (I assume you're using the 2005 Express edition) usually gives a good start, for the rest there's www.gotdotnet.com
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter