MS Config EDMIAppServerConfig

This commit is contained in:
2020-12-18 08:00:17 +01:00
parent 4a4121d8e6
commit a007f3d658
19 changed files with 527 additions and 429 deletions

View File

@@ -46,7 +46,26 @@ Public Class frmFlowForm
Logger = My.LogConfig.GetLogger()
' === Show Splash Screen ===
SplashScreenManager.ShowForm(Me, GetType(frmSplash), False, False)
Try
Try
Dim directory As New IO.DirectoryInfo(My.LogConfig.LogDirectory)
For Each file As IO.FileInfo In directory.GetFiles
If (Now - file.CreationTime).Days > 29 Then
file.Delete()
Else
Exit For
End If
Next
Catch ex As Exception
End Try
Catch ex As Exception
End Try
' === Initialization ===
Init = New ClassInit(My.LogConfig, Me)