From a9fdbb64b193e94fe03ae9174593a85d67033412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=B6ller?= Date: Sat, 1 May 2010 15:55:19 +0000 Subject: [PATCH] Fixed the "System.ComponentModel.Win32Exception: An error occurred in sending the command to the application" error in the about-box link code. --- GUI/AboutBox.cs | 4 +++- Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/GUI/AboutBox.cs b/GUI/AboutBox.cs index 10ce652..ef6ea67 100644 --- a/GUI/AboutBox.cs +++ b/GUI/AboutBox.cs @@ -56,7 +56,9 @@ namespace OpenHardwareMonitor.GUI { private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { - Process.Start(new ProcessStartInfo(e.Link.LinkData.ToString())); + try { + Process.Start(new ProcessStartInfo(e.Link.LinkData.ToString())); + } catch { } } } diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index d9acf30..c54485f 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -69,5 +69,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.1.33.0")] -[assembly: AssemblyFileVersion("0.1.33.0")] +[assembly: AssemblyVersion("0.1.34.0")] +[assembly: AssemblyFileVersion("0.1.34.0")]