Initial commit

This commit is contained in:
2021-04-20 07:59:36 +02:00
commit fb0247c874
21969 changed files with 11640044 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
Imports System.IO
Imports System.Data.SqlClient
Imports System.Data.SqlTypes
Imports System.Reflection
Public Class clsDivFnkt
#Region "Deklarationen"
Dim clsjournaleintrag As New edokaDB.clsJournaleintrag
Public Enum Enum_InfoTyp
Keine = 0
Information = 1
Warnung = 2
Fehler = 3
End Enum
#End Region
Public Sub InsertJournale(ByVal Message As String, ByVal sTyp As Enum_InfoTyp)
Try
If sTyp <> Enum_InfoTyp.Keine Then
End If
clsjournaleintrag.iJournalnr = New SqlInt32(CType(-3, Int32))
clsjournaleintrag.daDatumzeit = New SqlDateTime(CType(Now, DateTime))
clsjournaleintrag.sEintrag = New SqlString(CType(Message, String))
clsjournaleintrag.cpMainConnectionProvider = Globals.connJournale
Console.WriteLine(Message)
Globals.connJournale.OpenConnection()
clsjournaleintrag.Insert()
Globals.connJournale.CloseConnection(True)
Catch ex As Exception
LogEntry.Writelog(Log.Logtype.Debug, ex.Message)
End Try
End Sub
End Class