diff --git a/EpdBase/EpdBase.vcxproj b/EpdBase/EpdBase.vcxproj index c346332..2b744cf 100644 --- a/EpdBase/EpdBase.vcxproj +++ b/EpdBase/EpdBase.vcxproj @@ -21,7 +21,7 @@ 15.0 {3114A047-7562-42FE-94DE-2418EF19AD9A} - v4.7.2 + v4.8 ManagedCProj EpdBase 10.0 diff --git a/SetupProject1/Product.wxs b/SetupProject1/Product.wxs index 4694492..a7a3773 100644 --- a/SetupProject1/Product.wxs +++ b/SetupProject1/Product.wxs @@ -1,95 +1,50 @@ - - - - - - + + + + + + - + - + + + - - - + - - - - - - - - - - - - - - + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -116,15 +118,7 @@ - - - - - + @@ -133,10 +127,22 @@ - - - - - + + + + + + + + + + + + + + diff --git a/eDosStation.sln b/eDosStation.sln index 8e96550..91b5af6 100644 --- a/eDosStation.sln +++ b/eDosStation.sln @@ -118,7 +118,6 @@ Global {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Debug|x64.ActiveCfg = Debug|x64 {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Debug|x64.Build.0 = Debug|x64 {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Debug|x86.ActiveCfg = Debug|Win32 - {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Debug|x86.Build.0 = Debug|Win32 {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Release|Any CPU.ActiveCfg = Release|Win32 {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Release|Any CPU.Build.0 = Release|Win32 {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Release|ARM.ActiveCfg = Release|Win32 @@ -126,7 +125,6 @@ Global {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Release|x64.ActiveCfg = Release|x64 {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Release|x64.Build.0 = Release|x64 {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Release|x86.ActiveCfg = Release|Win32 - {F98F3496-8A4C-4BDB-9F17-C7AF47A60739}.Release|x86.Build.0 = Release|Win32 {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Debug|Any CPU.Build.0 = Debug|Any CPU {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Debug|ARM.ActiveCfg = Debug|Any CPU @@ -136,7 +134,6 @@ Global {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Debug|x64.ActiveCfg = Debug|Any CPU {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Debug|x64.Build.0 = Debug|Any CPU {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Debug|x86.ActiveCfg = Debug|Any CPU - {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Debug|x86.Build.0 = Debug|Any CPU {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Release|Any CPU.ActiveCfg = Release|Any CPU {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Release|Any CPU.Build.0 = Release|Any CPU {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Release|ARM.ActiveCfg = Release|Any CPU @@ -146,7 +143,6 @@ Global {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Release|x64.ActiveCfg = Release|Any CPU {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Release|x64.Build.0 = Release|Any CPU {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Release|x86.ActiveCfg = Release|Any CPU - {6AC69ACE-3666-4A3D-A4B9-FFA24C424C1B}.Release|x86.Build.0 = Release|Any CPU {B2264FF1-0F36-401B-91FE-DB3087CE05F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B2264FF1-0F36-401B-91FE-DB3087CE05F5}.Debug|Any CPU.Build.0 = Debug|Any CPU {B2264FF1-0F36-401B-91FE-DB3087CE05F5}.Debug|ARM.ActiveCfg = Debug|Any CPU diff --git a/syncEdosLocal/Program.cs b/syncEdosLocal/Program.cs index 240dbc2..176a158 100644 --- a/syncEdosLocal/Program.cs +++ b/syncEdosLocal/Program.cs @@ -305,19 +305,19 @@ namespace syncEdosLocal System.Diagnostics.Debug.WriteLine(messages.ToString()); Console.WriteLine(messages.ToString()); - var smtpFrom = System.Configuration.ConfigurationManager.AppSettings["smtpFrom"]; - var smtpServer = System.Configuration.ConfigurationManager.AppSettings["smtpServer"]; - int smtpPort = 25; - if (int.TryParse(System.Configuration.ConfigurationManager.AppSettings["smtpPort"], out int newSMTPPort)) smtpPort = newSMTPPort; ; - using (System.Net.Mail.MailMessage m = new System.Net.Mail.MailMessage()) - { - m.From = new System.Net.Mail.MailAddress(smtpFrom); - m.To.Add("lvandenb@sckcen.be"); - m.Subject = "SynceDosLocal " + (error ? "Error" : "No errors") + (warning ? " Warnings" : ""); - m.IsBodyHtml = true; - m.Body = Bulker.htmlLog.ToString(); - using (var mc = new System.Net.Mail.SmtpClient(smtpServer, smtpPort)) { mc.Send(m); } - } + //var smtpFrom = System.Configuration.ConfigurationManager.AppSettings["smtpFrom"]; + //var smtpServer = System.Configuration.ConfigurationManager.AppSettings["smtpServer"]; + //int smtpPort = 25; + //if (int.TryParse(System.Configuration.ConfigurationManager.AppSettings["smtpPort"], out int newSMTPPort)) smtpPort = newSMTPPort; ; + //using (System.Net.Mail.MailMessage m = new System.Net.Mail.MailMessage()) + //{ + // m.From = new System.Net.Mail.MailAddress(smtpFrom); + // m.To.Add("lvandenb@sckcen.be"); + // m.Subject = "SynceDosLocal " + (error ? "Error" : "No errors") + (warning ? " Warnings" : ""); + // m.IsBodyHtml = true; + // m.Body = Bulker.htmlLog.ToString(); + // using (var mc = new System.Net.Mail.SmtpClient(smtpServer, smtpPort)) { mc.Send(m); } + //} spLog.CloseSplunkLog(); } static void DoorloopVisits(SqlConnection coLocal, SqlConnection coCentral, spl spLog, ref bool error)