diff --git a/app/DD_PM_WINDREAM/frmMain.vb b/app/DD_PM_WINDREAM/frmMain.vb index dd1a837..15b01ca 100644 --- a/app/DD_PM_WINDREAM/frmMain.vb +++ b/app/DD_PM_WINDREAM/frmMain.vb @@ -150,7 +150,11 @@ Public Class frmMain ' Create helper to save/load expanded GroupColumns at runtime RefreshHelper = New RefreshHelper(GridView_Docs, "GUID") - bsiVersion.Caption = String.Format("Version {0}", My.Application.Info.Version.ToString) + ' Nur noch die ersten Zwei Teile der Version anzeigen + Dim oVersion = My.Application.Info.Version + + bsiVersion.Caption = String.Format("Version {0}.{1}", oVersion.Major, oVersion.Minor) + If ERROR_STATE = "NO DB-CONNECTION" Or ERROR_STATE = "FAILED DBCONNECTION" Then MsgBox("Please add a database-Connection in AppConfig!", MsgBoxStyle.Critical, "Fehlende Konfiguration:") frmKonfig.ShowDialog()