C2025-019 RO Editor - Update the Orphaned RO Record text file to save in the current RO folder instead of the users appdata folder.
Found while using the WEP ROMOD database and the ROEPU folder. Note for Word doc: Update D.2.10 in the PROMS Manual for this update
This commit is contained in:
parent
18734e0f85
commit
8ec820a7f7
@ -264,9 +264,11 @@ namespace ROEditor
|
|||||||
File.Delete(FstNew); // remove ROFST.NEW
|
File.Delete(FstNew); // remove ROFST.NEW
|
||||||
if (OrphanedRecords.Length > 0)
|
if (OrphanedRecords.Length > 0)
|
||||||
{
|
{
|
||||||
StreamWriter sw = new StreamWriter(VlnSettings.TemporaryFolder + @"\Orphaned RO Records.txt");
|
using (StreamWriter sw = new StreamWriter(Path.Combine(FstDir, @"Orphaned RO Records.txt"), false))
|
||||||
|
{
|
||||||
sw.Write(OrphanedRecords.ToString());
|
sw.Write(OrphanedRecords.ToString());
|
||||||
sw.Close();
|
sw.Close();
|
||||||
|
}
|
||||||
MessageBox.Show("The file Orphaned RO Records.txt has been created", "Warning - Orphan RO Record");
|
MessageBox.Show("The file Orphaned RO Records.txt has been created", "Warning - Orphan RO Record");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user