SEndungsdetails ATilla
This commit is contained in:
@@ -62,6 +62,17 @@ Public Class frmLogin
|
||||
lblVersion.ContextMenuStrip = ctxUpdate
|
||||
If Application.ProductVersion.StartsWith("0") Then lblVersion.Text += " BETA"
|
||||
|
||||
|
||||
If System.AppDomain.CurrentDomain.BaseDirectory = "\\share01\Programme\AVISO\" OrElse System.AppDomain.CurrentDomain.BaseDirectory = "\\share01\f\Programme\AVISO\" OrElse System.AppDomain.CurrentDomain.BaseDirectory = "\\install\Programme\AVISO\" OrElse
|
||||
System.AppDomain.CurrentDomain.BaseDirectory = "\\share01\Programme\AVISO_INSTALL\" OrElse System.AppDomain.CurrentDomain.BaseDirectory = "\\share01\f\Programme\AVISO_INSTALL\" OrElse System.AppDomain.CurrentDomain.BaseDirectory = "\\install\Programme\AVISO_INSTALL\" Then
|
||||
MsgBox("Programm kann im Quellpfad " & System.AppDomain.CurrentDomain.BaseDirectory & " nicht gestartet werden!" & vbNewLine & "Vorgang wird abgebrochen!", MsgBoxStyle.Critical)
|
||||
Application.Exit()
|
||||
Me.Close()
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
|
||||
|
||||
If Not VERAG_PROG_ALLGEMEIN.cProgramFunctions.spireLoadLicense() Then MsgBox("Fehler beim Laden der SPIRE-Lizenz")
|
||||
|
||||
Dim pfadDatei As String = Application.StartupPath & "\Standort.txt"
|
||||
|
||||
Reference in New Issue
Block a user