This commit is contained in:
Digital Data - Marlon Schreiber
2017-05-24 11:46:17 +02:00
parent 1d18370ec0
commit 9c0e09dcef
28 changed files with 659 additions and 887 deletions

View File

@@ -4,6 +4,10 @@ Imports DD_LIB_Standards
Public Class ClassHelper
Public Shared Function Format_Currency(value As String, language As String)
Try
If IsNothing(value) Then
Return ""
End If
If language <> "de-DE" Then
value = value.Replace(",", ".")
End If
@@ -198,7 +202,7 @@ Public Class ClassHelper
If System.IO.File.Exists(RESULT_DOC_PATH) = True Then
Process.Start(RESULT_DOC_PATH)
Else
If clsWD_GET.WDFile_exists(RESULT_DOC_PATH, True) = False Then
If clsWD_GET.WDFile_exists(RESULT_DOC_PATH, clsDatabase.DB_PROXY_INITIALIZED, ClassProxy.MyLinkedServer, True) = False Then
MSGBOX_Handler("ERROR", "", "File '" & RESULT_DOC_PATH & "' not existing!")
Else
MSGBOX_Handler("ERROR", "", "File '" & RESULT_DOC_PATH & "' is existing but You are not provided with reading rights! Please inform Your admin!")