B2019-032 – Clean up the UpdateROReport file name by replacing invalid file name characters
This commit is contained in:
parent
07cb448b60
commit
459f0d0725
@ -302,7 +302,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// returns the path and file name with Proc Set Name and the completed date/time (used for all update RO calls except for Amin Tool from the V button)
|
// returns the path and file name with Proc Set Name and the completed date/time (used for all update RO calls except for Amin Tool from the V button)
|
||||||
public static string ROUpdateResultsPath (DocVersionInfo dvi)
|
public static string ROUpdateResultsPath (DocVersionInfo dvi)
|
||||||
{
|
{
|
||||||
return Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\VEPROMS\ROUpdateReport_" + dvi.MyFolder.Name.Replace(" ", "_") + "_" + DateTime.Now.ToString("MM-dd-yyyy_HH-mm-ss") +".txt";
|
// B2019-032 - call ValidFileName.FixFileName() to clean up the file name.
|
||||||
|
return Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\VEPROMS\ROUpdateReport_" + ValidFileName.FixFileName(dvi.MyFolder.Name.Replace(" ", "_") + "_" + DateTime.Now.ToString("MM-dd-yyyy_HH-mm-ss") + ".txt");
|
||||||
}
|
}
|
||||||
public static ROFst RefreshROFst(RODbInfo rdi, DocVersionAssociation dva, DocVersion docver, ROFstInfo origROFst, ROFstInfoProgressBarRefresh myProgressBarRefresh, System.Windows.Forms.TextBox tbStatus)
|
public static ROFst RefreshROFst(RODbInfo rdi, DocVersionAssociation dva, DocVersion docver, ROFstInfo origROFst, ROFstInfoProgressBarRefresh myProgressBarRefresh, System.Windows.Forms.TextBox tbStatus)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user