Category Archives: .Net

How to Write/Create Text file?

Here is the simplest way of creating a new Text file. If the file already exists, then the text will be appended to the existing file. My.Computer.FileSystem.WriteAllText(“Full_Path_of_Your_Text_File.txt”,”Text you would like to write to text file”, True) The above piece of … Continue reading

Posted in .Net, VB.Net | Tagged .net code, create text file, dotnet code, text file, vb.net code, write text file, write text to a flat file | 1 Comment