Dim SW As StreamWriter = File.CreateText("C:\test.txt")
SW.WriteLine("Hello There!")
SW.Close
Imports System.IO
system.IO.StreamReader
IO.StreamReader
C:\Documents and Settings\Michael\My Documents\Visual Studio Projects\AutoComplete\Form1.vb(95): StreamReader is a type in IO and cannot be used as an expression.
Imports System.IO
...
Dim SR As StreamReader = File.OpenText("C:\test.txt")
Dim SW As StreamWriter = File.CreateText("C:\test2.txt")
Dim S As String
S = SR.ReadLine()
SW.WriteLine(S)
SR.Close()
SW.Close()