' Try to open the file Using loFileStream As System.IO.FileStream = New FileStream(lcFile, FileMode.Create) loStreamWriter = New StreamWriter(loFileStream, cEncoding) loStreamWriter.Write(cString) loStreamWriter.Close() End UsingBut I do not know how to change that I have this new one. If you could help me with this I would really appreciate it.