4 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Garidius

Hello to all, I'm trying to use the function below to print strings to a file. When I use Console.Write() or Console.WriteLine() the output file grows up 3MB or 4MB per seconds, but when I try to use StreamWriter or File.AppendAllText the output in the way shown below, the file …

Member Avatar for Garidius
0
574
Member Avatar for SLMQC

I am trying to write the information below (name, employee no., etc.) to a file using StreamWriter. I'm able to enter the data, click the save button, enter/change the save location and file name and save the document. When I open the saved document, its blank and none of the …

Member Avatar for SLMQC
0
165
Member Avatar for collin_ola

Hi, The code shown below sucessfully saves text onto a line in a txt document, but using the array, I want to be able to save each piece of text on a separate line. How would I do this? Thanks in advance :) Dim filePath As String Dim objectWriter As …

Member Avatar for collin_ola
0
181
Member Avatar for djjavo

Basically I use text files to hold the program data, which is loaded in to variables when the program starts. I use StreamWriter to write to the text files when they update within the program. This is fine although the writer adds a extra line when I do not want …

Member Avatar for djjavo
0
166

The End.