Hi!
I'm trying to make something like this to work with VB.NET 2003...
Dim sr As StreamReader = New StreamReader("C :\MyFile.txt")
Dim strLine As String
While ((strLine = sr.ReadLine()) <> Nothing)
'// Doing something here
End While
....but can't get it to work. What's wrong with that?
I have studied some Java basic programming earlier, and in this case I'm
trying to make an idea from java code...
while ((strLine = br.readLine()) != null) // br = BufferedReader
....to convert to work using VB 2003.
--
Thanks in advance!
Mika