currentVersionNr bei Info wird angegeben.

This commit is contained in:
2023-10-24 16:18:04 +02:00
parent c0222e4c0f
commit cb395acdec
2 changed files with 3 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ Imports System.Net.Http
Imports System.Diagnostics
Imports VERAG_PROG_ALLGEMEIN.Kleinma.Controls
Imports System.Data.Odbc
Imports System.Reflection
Public Class VERAGRibbon
Dim LOGIN_OK = False
@@ -57,7 +58,7 @@ Public Class VERAGRibbon
Private Sub Button4_Click(sender As Object, e As RibbonControlEventArgs) Handles Button4.Click
Try
MsgBox(System.Security.Principal.WindowsIdentity.GetCurrent().Name)
MsgBox("User: " & System.Security.Principal.WindowsIdentity.GetCurrent().Name & vbNewLine & "Version: " & Assembly.GetExecutingAssembly().GetName().Version.ToString)
Catch ex As Exception
End Try
End Sub