diff --git a/WIDigConsoleApp/Module1.vb b/WIDigConsoleApp/Module1.vb index 7ed900a..dad97e0 100644 --- a/WIDigConsoleApp/Module1.vb +++ b/WIDigConsoleApp/Module1.vb @@ -91,12 +91,12 @@ Module Module1 'Settings_Load() End Sub Public Function InitDatabase() As Boolean - If My.Settings.MyECM_ConnectionString = String.Empty Then + If CONFIG.Config.ConnectionString.Length = 0 Then Return False End If Try - _database = New MSSQLServer(LOGCONFIG, My.Settings.MyECM_ConnectionString) + _database = New MSSQLServer(LOGCONFIG, CONFIG.Config.ConnectionString) If _database.DBInitialized = True Then Return True Else