diff --git a/Greenshot/Forms/MainForm.cs b/Greenshot/Forms/MainForm.cs index 59aacf8f1..eaf2064f0 100644 --- a/Greenshot/Forms/MainForm.cs +++ b/Greenshot/Forms/MainForm.cs @@ -325,7 +325,13 @@ namespace Greenshot { // // The InitializeComponent() call is required for Windows Forms designer support. // - InitializeComponent(); + try { + InitializeComponent(); + } catch (ArgumentException ex) { + // Added for Bug #1420, this doesn't solve the issue but maybe the user can do something with it. + ex.Data.Add("more information here", "http://support.microsoft.com/kb/943140"); + throw ex; + } this.notifyIcon.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon(); this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon(); diff --git a/Greenshot/Helpers/EnvironmentInfo.cs b/Greenshot/Helpers/EnvironmentInfo.cs index 6fd983970..cee4597e4 100644 --- a/Greenshot/Helpers/EnvironmentInfo.cs +++ b/Greenshot/Helpers/EnvironmentInfo.cs @@ -130,7 +130,7 @@ namespace Greenshot.Helpers { foreach (object key in ex.Data.Keys) { object data = ex.Data[key]; if (data != null) { - report.AppendLine(key + " = " + data); + report.AppendLine(key + " : " + data); } } }