diff --git a/AboutBox/AboutBox.cs b/AboutBox/AboutBox.cs index 73836d5..8c07024 100644 --- a/AboutBox/AboutBox.cs +++ b/AboutBox/AboutBox.cs @@ -458,9 +458,22 @@ namespace Eugen.ESystem.Windows.Forms dlls.Clear(); } + string productVersion = ""; + + foreach (ProcessModule module in Process.GetCurrentProcess().Modules) { - dlls.Add(module.ModuleName + Environment.NewLine + module.FileVersionInfo.ProductVersion + Environment.NewLine + module.FileName); + //Falls es keine Versionsnummer gibt, dann abfangen + try + { + productVersion = module.FileVersionInfo.ProductVersion; + } + catch (Exception) + { + productVersion = "???"; + } + + dlls.Add(module.ModuleName + Environment.NewLine + productVersion + Environment.NewLine + module.FileName); } dlls.Sort(); diff --git a/AboutBox/AboutBox.csproj b/AboutBox/AboutBox.csproj index 8931ba1..a92bae7 100644 --- a/AboutBox/AboutBox.csproj +++ b/AboutBox/AboutBox.csproj @@ -9,9 +9,10 @@ Properties AboutBox heabox - v4.6.1 + v4.8 512 false + true @@ -30,6 +31,10 @@ prompt 4 + + + + @@ -93,5 +98,8 @@ Eugen.ESystem.Windows.Forms + + + \ No newline at end of file diff --git a/AboutBox/Bibliothek_HE.ico b/AboutBox/Bibliothek_HE.ico new file mode 100644 index 0000000..bab9fca Binary files /dev/null and b/AboutBox/Bibliothek_HE.ico differ diff --git a/AboutBox/Language.Designer.cs b/AboutBox/Language.Designer.cs index d09b555..a53a92b 100644 --- a/AboutBox/Language.Designer.cs +++ b/AboutBox/Language.Designer.cs @@ -19,7 +19,7 @@ namespace Eugen.ESystem.Windows.Forms { // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Language { diff --git a/Test_AboutBox/Test_AboutBox.csproj b/Test_AboutBox/Test_AboutBox.csproj index 43388ba..04ecc7e 100644 --- a/Test_AboutBox/Test_AboutBox.csproj +++ b/Test_AboutBox/Test_AboutBox.csproj @@ -9,9 +9,10 @@ Properties Test_AboutBox Test_AboutBox - v4.6.1 + v4.8 512 false + true @@ -64,5 +65,8 @@ Form1.cs + + + \ No newline at end of file diff --git a/Test_AboutBox/app.config b/Test_AboutBox/app.config new file mode 100644 index 0000000..3e0e37c --- /dev/null +++ b/Test_AboutBox/app.config @@ -0,0 +1,3 @@ + + +