/[AnywhereTS-MSSQL]/trunk/TSAdminTool/frmConfigMode.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/frmConfigMode.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

 

  ViewVC Help
Powered by ViewVC 1.1.22