Use new settings
Removed outdated comments
This commit is contained in:
@@ -82,25 +82,12 @@ namespace DataLoader
|
||||
{
|
||||
try
|
||||
{
|
||||
//#if DEBUG
|
||||
if (VlnSettings.DebugMode)
|
||||
{
|
||||
MessageBox.Show(@"Format files are taken from c:\development\fmtall");
|
||||
_FmtAllPath = @"c:\development\fmtall";
|
||||
_GenmacAllPath = @"c:\development\genmacall";
|
||||
}
|
||||
//#else
|
||||
else
|
||||
{
|
||||
MessageBox.Show(@"Format files are taken from " + vepromspath + @"\fmtall");
|
||||
_FmtAllPath = vepromspath + @"\fmtall";
|
||||
_GenmacAllPath = vepromspath + @"\genmacall";
|
||||
}
|
||||
//#endif
|
||||
_FmtAllPath = frmMain.MySettings.FormatFolder;
|
||||
_GenmacAllPath = frmMain.MySettings.GenMacFolder;
|
||||
frmMain.Status = "Make Connection";
|
||||
// make the initial database connection record, annotation types & top
|
||||
// system folder.
|
||||
dbConn = Connection.MakeConnection("Default", "Default", "Data Source=.\\SQLEXPRESS;Initial Catalog=VEPROMS;Integrated Security=True", 1, null, DateTime.Now, "Migration");
|
||||
dbConn = Connection.MakeConnection("Default", "Default", frmMain.MySettings.ConnectionString.Replace("{DBName}",frmMain.MySettings.DBName), 1, null, DateTime.Now, "Migration");
|
||||
ConfigFile cfg = new ConfigFile();
|
||||
|
||||
frmMain.Status = "Add AnnotationTypes";
|
||||
|
Reference in New Issue
Block a user