I have the following PowerShell script: I run this through Task Scheduler on specific events, but it never gets out of the loop as it raises the er ...
I have the following PowerShell script: I run this through Task Scheduler on specific events, but it never gets out of the loop as it raises the er ...
I have a Windows service in C# that is writing some data to a text file every 35ms. Normally everything was working fine. But recently I have programm ...
I have the file being used by another process. However I need to be able to save to it using TextWriter (C# .NET). What can I do to get around this? ...
As part of my c# learning, I have a simple game on a console application. I have now added a text file to record the top score. It has 4 lines, date, ...
A method receives an object list each entity has the following attributes: name room The list contains, for example, the following objects: n ...
I am doing a ATM project for my computer science class and we are required to make an ATM that stores and reads accounts in a text file. I am stuck tr ...
Doing a ATM Machine for my computer science project and I wanted to know how to overwrite a specific string of text in a text document. Ex: The progra ...
I'm writing something that will create a .csv file in memory and email it as an attachment. The code below successfully emails a .csv file, but it is ...
A little background... Everything I'm about to describe up to my implementation of the StreamWriter is business processes which I cannot change. Eve ...
Im trying to write data in a JSON file using webapi but stream writer is not writing data to the file. JSON File : Class Api controller: [HttpP ...
I am using C# with Unity. I have a text file in my assets that is updated by a void function via StreamWriter. I want to remove all lines of text from ...
I'm creating a small program which can save and load char array values. Then, I got stuck with two problems. I have no idea how to make the program e ...
I'm Writing to 2 files at a time from a row in a csv, basically I have a list of rows that some have errors so I want to create a log file with detail ...
I need to change a .txt file with c#. Everything after "_" should be deleted. It should be like this Original Edited ...
I’m developing a NET 6.0 FTP server as part of a functionality to load the firmware of a hardware device. I need to have it inside a Docker container ...
There was a problem with encodings when writing to a Russian language file in C#. What is the point: I have a string with Russian and English characte ...
I have a C# program that wants to interact with an external process written in C++. I believe this C++ process is using correct standard input. I just ...
In my C# project, i have to write some info to a file with streamwriter, and afterwards I want to call a method. But I have to be % 100 sure that the ...
I have a folder that I only want Administrators having permissions to write text files to it. I need to write text files in a program and insert it i ...
I have a C# program that is supposed to generate an output that looks like this: However, my output currently looks like this: This is what my c ...