--- trunk/TSAdminTool/frmConfigMode.cs 2012/07/16 09:53:12 164 +++ trunk/TSAdminTool/frmConfigMode.cs 2012/07/16 10:19:21 165 @@ -83,9 +83,9 @@ namespace AnywhereTS return; } - //// Save the database directory to registry - //ProSupport.strDatabasePath = txtDatabasePath.Text.Trim(); - //ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath); + // Save the database directory to registry + ProSupport.strDatabasePath = txtDatabasePath.Text.Trim(); + ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath); // Set up database dataSupport = new DatabaseSupport(); @@ -140,9 +140,9 @@ namespace AnywhereTS return; } - //// Save the database directory to registry - //ProSupport.strDatabasePath = txtDatabasePath.Text.Trim(); - //ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath); + // Save the database directory to registry + ProSupport.strDatabasePath = txtDatabasePath.Text.Trim(); + ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath); // Save mode ATSGlobals.SetATSRegValue(ATSGlobals.strRegManagedMode, ATSGlobals.managedMode); |