ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/AnywhereTS-MSSQL/trunk/TSAdminTool/frmConfigMode.cs
(Generate patch)

Comparing trunk/TSAdminTool/frmConfigMode.cs (file contents):
Revision 164 by william, Mon Jul 16 09:53:12 2012 UTC vs.
Revision 165 by william, Mon Jul 16 10:19:21 2012 UTC

--- 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);