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

# Line 83 | Line 83 | namespace AnywhereTS
83                      return;
84                  }
85  
86 <                //// Save the database directory to registry
87 <                //ProSupport.strDatabasePath = txtDatabasePath.Text.Trim();
88 <                //ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath);
86 >                // Save the database directory to registry
87 >                ProSupport.strDatabasePath = txtDatabasePath.Text.Trim();
88 >                ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath);
89  
90                  // Set up database
91                  dataSupport = new DatabaseSupport();
# Line 140 | Line 140 | namespace AnywhereTS
140                  return;
141  
142              }
143 <            //// Save the database directory to registry
144 <            //ProSupport.strDatabasePath = txtDatabasePath.Text.Trim();
145 <            //ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath);
143 >            // Save the database directory to registry
144 >            ProSupport.strDatabasePath = txtDatabasePath.Text.Trim();
145 >            ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath);
146  
147              // Save mode
148              ATSGlobals.SetATSRegValue(ATSGlobals.strRegManagedMode, ATSGlobals.managedMode);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines