I am new to VB.NET. In VB6 I used to be able to use the FSO and sr.Read(numofbytes). How would I go about that in VB.NET. I get errors when I use sr.Read(numofbytes). Thanks in advance.
Do Until sr.Peek = -1
Counter = Counter + 1
Progressbar1.Value = Counter
InputData = sr.ReadLine()
sw.WriteLine (InputData.Substring(4,2))
Loop
Swi
Do Until sr.Peek = -1
Counter = Counter + 1
Progressbar1.Value = Counter
InputData = sr.ReadLine()
sw.WriteLine (InputData.Substring(4,2))
Loop
Swi