sw = File.AppendText(sPath); // Open the path for writing
sw.WriteLine(sLine); // Append a new line to the file
sw.Close();
I am writing text to a file and sometimes a second indicator will be reading that text while the first process has it locked, causing the second indi to abort, even tho it is in a try, catch block
So I either need parms to share the file, or a way to catch the abort of the second indi and retry the read. Thanks, Ken
Comment