This commit is contained in:
Jonathan Jenne
2019-08-09 17:12:34 +02:00
parent ee2cacb6cd
commit 16a6febb34
21 changed files with 531 additions and 402 deletions

View File

@@ -1,7 +1,7 @@
Imports System.ComponentModel
Imports System.Threading
Public NotInheritable Class frmSplash
Private InitSteps As Integer = 3
Private InitSteps As Integer = 4
Private Worker As New BackgroundWorker()
Private MainForm As Form
@@ -59,6 +59,12 @@ Public NotInheritable Class frmSplash
Else
ERROR_INIT = "DATABASE"
End If
Worker.ReportProgress(CalcProgress(4), "Initializing Automation")
If Init.InitAutomation() = False Then
ERROR_INIT = "AUTOMATION"
End If
Catch ex As Exception
MsgBox("Unexpected Error in bw_DoWork: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
End Try