Initial commit

This commit is contained in:
shu committed 2021-04-20 07:59:36 +02:00
commit fb0247c874
21969 files changed
+11640044

No files matched your search

Binary file not shown.
+28
View File
@@ -0,0 +1,28 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "EDKB17", "EDKB17\EDKB17.vbproj", "{764592D3-EDF1-4BCC-B13C-70B79A850828}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{764592D3-EDF1-4BCC-B13C-70B79A850828}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{764592D3-EDF1-4BCC-B13C-70B79A850828}.Debug|Any CPU.Build.0 = Debug|Any CPU
{764592D3-EDF1-4BCC-B13C-70B79A850828}.Debug|x86.ActiveCfg = Debug|x86
{764592D3-EDF1-4BCC-B13C-70B79A850828}.Debug|x86.Build.0 = Debug|x86
{764592D3-EDF1-4BCC-B13C-70B79A850828}.Release|Any CPU.ActiveCfg = Release|Any CPU
{764592D3-EDF1-4BCC-B13C-70B79A850828}.Release|Any CPU.Build.0 = Release|Any CPU
{764592D3-EDF1-4BCC-B13C-70B79A850828}.Release|x86.ActiveCfg = Release|x86
{764592D3-EDF1-4BCC-B13C-70B79A850828}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
+48
View File
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="EDKB17.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
<userSettings>
<EDKB17.My.MySettings>
<setting name="EDOKA_Connection" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Journale_Connectoin" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka_journale;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Temp_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17</value>
</setting>
<setting name="TimerIntervall_in_Sekunden" serializeAs="String">
<value>2</value>
</setting>
<setting name="ZIP_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17\ZIP</value>
</setting>
<setting name="Cold_Param_EDOKA_Partner" serializeAs="String">
<value>[-f "TGKB EDOKA-Partner"] [-G TGKB-C35-EW-EDOKA-Put1.0] [-i " NRDOC00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Parameter_ZV" serializeAs="String">
<value>[-f "TGKB ZV-Scanning Belege"] [-i "where NRDOT00 = '##DokTyp##' and NRAUF00 = '##AuftragNr##' and NRDOC00 = '##Paginator##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="DemoMode" serializeAs="String">
<value>True</value>
</setting>
<setting name="Cold_Param_Host" serializeAs="String">
<value>[-f "TGKB Kundenoutput ab 01.08.2008"] [-G TGKB-C35-10-XOMA-Rel1.0] [-i "where MAILINGID = ##DokID##"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Strukturaufloesen" serializeAs="String">
<value>True</value>
</setting>
<setting name="tgz_return" serializeAs="String">
<value>True</value>
</setting>
</EDKB17.My.MySettings>
</userSettings>
</configuration>
@@ -0,0 +1,289 @@
' ///////////////////////////////////////////////////////////////////////////
' // Description: Connection Provider class for Database connection sharing
' // Generated by LLBLGen v1.2.1045.38210 Final on: Sonntag, 18. Mai 2003, 00:06:25
' // This class implements IDisposable.
' ///////////////////////////////////////////////////////////////////////////
Imports System
Imports System.Configuration
Imports System.Data
Imports System.Data.SqlClient
Imports System.Collections
Namespace edokadb
' /// <summary>
' /// Purpose: provides a SqlConnection object which can be shared among data-access tier objects
' /// to provide a way to do ADO.NET transaction coding without the hassling with SqlConnection objects
' /// on a high level.
' /// </summary>
Public Class clsConnectionProvider
Implements IDisposable
#Region " Class Member Declarations "
Private m_scoDBConnection As SqlConnection
Private m_bIsTransactionPending, m_bIsDisposed As Boolean
Private m_stCurrentTransaction As SqlTransaction
Private m_alSavePoints As ArrayList
#End Region
Public Sub New()
' // Init the class
InitClass()
End Sub
' /// <summary>
' /// Purpose: Implements the IDispose' method Dispose.
' /// </summary>
Overloads Public Sub Dispose() Implements IDisposable.Dispose
Dispose(True)
GC.SuppressFinalize(Me)
End Sub
' /// <summary>
' /// Purpose: Implements the Dispose functionality.
' /// </summary>
Overridable Overloads Protected Sub Dispose(ByVal bIsDisposing As Boolean)
' // Check to see if Dispose has already been called.
If Not m_bIsDisposed Then
If bIsDisposing Then
' // Dispose managed resources.
If Not (m_stCurrentTransaction Is Nothing) Then
m_stCurrentTransaction.Dispose()
m_stCurrentTransaction = Nothing
End If
If Not (m_scoDBConnection Is Nothing) Then
' // closing the connection will abort (rollback) any pending transactions
m_scoDBConnection.Close()
m_scoDBConnection.Dispose()
m_scoDBConnection = Nothing
End If
End If
End If
m_bIsDisposed = True
End Sub
' /// <summary>
' /// Purpose: Initializes class members.
' /// </summary>
Private Sub InitClass()
' // Create all the objects and initialize other members.
m_scoDBConnection = new SqlConnection()
m_bIsDisposed = False
m_stCurrentTransaction = Nothing
m_bIsTransactionPending = False
m_alSavePoints = new ArrayList()
End Sub
' /// <summary>
' /// Purpose: Opens the connection object.
' /// </summary>
' /// <returns>True, if succeeded, otherwise an Exception exception is thrown.</returns>
Public Function OpenConnection() As Boolean
Try
If (m_scoDBConnection.State And ConnectionState.Open) > 0 Then
' // It's already open.
Throw New Exception("OpenConnection::Connection is already open.")
End If
m_scoDBConnection.Open()
m_bIsTransactionPending = False
m_alSavePoints.Clear()
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Starts a new ADO.NET transaction using the open connection object of this class.
' /// </summary>
' /// <param name="sTransactionName">Name of the transaction to start</param>
' /// <returns>True, if transaction is started correctly, otherwise an Exception exception is thrown</returns>
Public Function BeginTransaction(sTransactionName As String) As Boolean
Try
If m_bIsTransactionPending Then
' // no nested transactions allowed.
Throw New Exception("BeginTransaction::Already transaction pending. Nesting not allowed")
End If
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // no open connection
Throw New Exception("BeginTransaction::Connection is not open.")
End If
' // begin the transaction and store the transaction object.
m_stCurrentTransaction = m_scoDBConnection.BeginTransaction(IsolationLevel.ReadCommitted, sTransactionName)
m_bIsTransactionPending = True
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Commits a pending transaction on the open connection object of this class.
' /// </summary>
' /// <returns>True, if commit was succesful, or an Exception exception is thrown</returns>
Public Function CommitTransaction() As Boolean
Try
If Not m_bIsTransactionPending Then
' // no transaction pending
Throw New Exception("CommitTransaction::No transaction pending.")
End If
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // no open connection
Throw New Exception("CommitTransaction::Connection is not open.")
End if
' // commit the transaction
m_stCurrentTransaction.Commit()
m_bIsTransactionPending = False
m_stCurrentTransaction.Dispose()
m_stCurrentTransaction = Nothing
m_alSavePoints.Clear()
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Rolls back a pending transaction on the open connection object of this class,
' /// or rolls back to the savepoint with the given name. Savepoints are created with SaveTransaction().
' /// </summary>
' /// <param name="sTransactionToRollback">Name of transaction to roll back. Can be name of savepoint</param>
' /// <returns>True, if rollback was succesful, or an Exception exception is thrown</returns>
Public Function RollbackTransaction(sTransactionToRollback As String) As Boolean
Try
If Not m_bIsTransactionPending Then
' // no transaction pending
Throw New Exception("RollbackTransaction::No transaction pending.")
End If
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // no open connection
Throw New Exception("RollbackTransaction::Connection is not open.")
End If
' // rollback the transaction
m_stCurrentTransaction.Rollback(sTransactionToRollback)
' // if this wasn't a savepoint, we've rolled back the complete transaction, so we
' // can clean it up.
If Not m_alSavePoints.Contains(sTransactionToRollback) Then
' // it's not a savepoint
m_bIsTransactionPending = False
m_stCurrentTransaction.Dispose()
m_stCurrentTransaction = Nothing
m_alSavePoints.Clear()
End If
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Saves a pending transaction on the open connection object of this class to a 'savepoint'
' /// with the given name.
' /// When a rollback is issued, the caller can rollback to this savepoint or roll back the complete transaction.
' /// </summary>
' /// <param name="sSavePointName">Name of the savepoint to store the current transaction under.</param>
' /// <returns>True, if save was succesful, or an Exception exception is thrown</returns>
Public Function SaveTransaction(sSavePointName As String) As Boolean
Try
If Not m_bIsTransactionPending Then
' // no transaction pending
Throw New Exception("SaveTransaction::No transaction pending.")
End If
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // no open connection
Throw New Exception("SaveTransaction::Connection is not open.")
End If
' // save the transaction
m_stCurrentTransaction.Save(sSavePointName)
' // Store the savepoint in the list.
m_alSavePoints.Add(sSavePointName)
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Closes the open connection. Depending on bCommitPendingTransactions, a pending
' /// transaction is commited, or aborted.
' /// </summary>
' /// <param name="bCommitPendingTransaction">Flag for what to do when a transaction is still pending. True
' /// will commit the current transaction, False will abort (rollback) the complete current transaction.</param>
' /// <returns>True, if close was succesful, False if connection was already closed, or an Exception exception is thrown when
' /// an error occurs</returns>
Public Function CloseConnection(bCommitPendingTransaction As Boolean) As Boolean
Try
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // No open connection
Return False
End If
If m_bIsTransactionPending Then
If bCommitPendingTransaction Then
' // Commit the pending transaction
m_stCurrentTransaction.Commit()
Else
' // Rollback the pending transaction
m_stCurrentTransaction.Rollback()
End If
m_bIsTransactionPending = False
m_stCurrentTransaction.Dispose()
m_stCurrentTransaction = Nothing
m_alSavePoints.Clear()
End If
' // close the connection
m_scoDBConnection.Close()
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
#Region " Class Property Declarations "
Public ReadOnly Property stCurrentTransaction() As SqlTransaction
Get
Return m_stCurrentTransaction
End Get
End Property
Public ReadOnly Property bIsTransactionPending() As Boolean
Get
Return m_bIsTransactionPending
End Get
End Property
Public ReadOnly Property scoDBConnection() As SqlConnection
Get
Return m_scoDBConnection
End Get
End Property
Public WriteOnly Property sConnectionString() As String
Set (ByVal Value As String)
m_scoDBConnection.ConnectionString = Value
End Set
End Property
#End Region
End Class
End Namespace
@@ -0,0 +1,202 @@
' //////////////////////////////////////////////////////////////////////////////////////////
' // Description: Base class for Database Interaction.
' // Generated by LLBLGen v1.2.1045.38210 Final on: Sonntag, 18. Mai 2003, 00:06:25
' // Because this class implements IDisposable, derived classes shouldn't do so.
' //////////////////////////////////////////////////////////////////////////////////////////
Imports System
Imports System.Configuration
Imports System.Data
Imports System.Data.SqlClient
Imports System.Data.SqlTypes
Namespace edokadb
' /// <summary>
' /// Purpose: Error Enums used by this LLBL library.
' /// </summary>
Public Enum LLBLError
AllOk
' // Add more here (check the comma's!)
End Enum
' /// <summary>
' /// Purpose: General interface of the API generated. Contains only common methods of all classes.
' /// </summary>
Public Interface ICommonDBAccess
Function Insert() As Boolean
Function Update() As Boolean
Function Delete() As Boolean
Function SelectOne() As DataTable
Function SelectAll() As DataTable
End Interface
' /// <summary>
' /// Purpose: Abstract base class for Database Interaction classes.
' /// </summary>
Public MustInherit Class clsDBInteractionBase
Implements IDisposable
Implements ICommonDBAccess
#Region " Class Member Declarations "
Protected m_scoMainConnection As SqlConnection
Protected m_iErrorCode As SqlInt32
Protected m_bMainConnectionIsCreatedLocal As Boolean
Protected m_cpMainConnectionProvider As clsConnectionProvider
Private m_sConnectionString As String
Private m_bIsDisposed As Boolean
#End Region
' /// <summary>
' /// Purpose: Class constructor.
' /// </summary>
Public Sub New()
' // Initialize the class' members.
InitClass()
End Sub
' /// <summary>
' /// Purpose: Initializes class members.
' /// </summary>
Private Sub InitClass()
' // create all the objects and initialize other members.
m_scoMainConnection = new SqlConnection()
m_bMainConnectionIsCreatedLocal = True
m_cpMainConnectionProvider = Nothing
m_iErrorCode = New SqlInt32(LLBLError.AllOk)
m_bIsDisposed = False
End Sub
' /// <summary>
' /// Purpose: Implements the IDispose' method Dispose.
' /// </summary>
Overloads Public Sub Dispose() Implements IDisposable.Dispose
Dispose(True)
GC.SuppressFinalize(Me)
End Sub
' /// <summary>
' /// Purpose: Implements the Dispose functionality.
' /// </summary>
Overridable Overloads Protected Sub Dispose(ByVal bIsDisposing As Boolean)
' // Check to see if Dispose has already been called.
If Not m_bIsDisposed Then
If bIsDisposing Then
' // Dispose managed resources.
If m_bMainConnectionIsCreatedLocal Then
' // Object is created in this class, so destroy it here.
m_scoMainConnection.Close()
m_scoMainConnection.Dispose()
m_bMainConnectionIsCreatedLocal = True
End If
m_cpMainConnectionProvider = Nothing
m_scoMainConnection = Nothing
End If
End If
m_bIsDisposed = True
End Sub
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.Insert() method.
' /// </summary>
Public Overridable Function Insert() As Boolean Implements ICommonDBAccess.Insert
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.Delete() method.
' /// </summary>
Public Overridable Function Delete() As Boolean Implements ICommonDBAccess.Delete
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.Update() method.
' /// </summary>
Public Overridable Function Update() As Boolean Implements ICommonDBAccess.Update
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.SelectOne() method.
' /// </summary>
Public Overridable Function SelectOne() As DataTable Implements ICommonDBAccess.SelectOne
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.SelectAll() method.
' /// </summary>
Public Overridable Function SelectAll() As DataTable Implements ICommonDBAccess.SelectAll
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
#Region " Class Property Declarations "
Public WriteOnly Property cpMainConnectionProvider() As clsConnectionProvider
Set(ByVal Value As clsConnectionProvider)
If Value Is Nothing Then
' // Invalid value
Throw New ArgumentNullException("cpMainConnectionProvider", "Nothing passed as value to this property which is not allowed.")
End If
' // A connection provider object is passed to this class.
' // Retrieve the SqlConnection object, if present and create a
' // reference to it. If there is already a MainConnection object
' // referenced by the membervar, destroy that one or simply
' // remove the reference, based on the flag.
If Not (m_scoMainConnection Is Nothing) Then
' // First get rid of current connection object. Caller is responsible
If m_bMainConnectionIsCreatedLocal Then
' // Is local created object, close it and dispose it.
m_scoMainConnection.Close()
m_scoMainConnection.Dispose()
End If
' // Remove reference.
m_scoMainConnection = Nothing
End If
m_cpMainConnectionProvider = CType(Value, clsConnectionProvider)
m_scoMainConnection = m_cpMainConnectionProvider.scoDBConnection
m_bMainConnectionIsCreatedLocal = False
End Set
End Property
Public ReadOnly Property iErrorCode() As SqlInt32
Get
Return m_iErrorCode
End Get
End Property
Public Property sConnectionString() As String
Get
Return m_sConnectionString
End Get
Set (ByVal Value As String)
m_sConnectionString = Value
m_scoMainConnection.ConnectionString = m_sConnectionString
End Set
End Property
#End Region
End Class
End Namespace
@@ -0,0 +1,285 @@
Imports System.Data.SqlTypes
Imports System.Data.SqlClient
Imports System
Imports System.IO
Public Class clsDBZugriffe
Dim dbconn As New edokadb.DB_Connection
Dim m_DossierDaten As New DataTable
Property DossierDaten As DataTable
Get
Return m_DossierDaten
End Get
Set(value As DataTable)
m_DossierDaten = value
End Set
End Property
Public Function Get_Pendente_Dossiers() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
Dim dtToReturn As DataTable = New DataTable()
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute)
scmCmdToExecute.CommandText = "dbo.sp_elektr_dossier"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
conn_edoka.sConnectionString = sConnectionString_edoka
scmCmdToExecute.Connection = conn_edoka.scoDBConnection
scmCmdToExecute.Connection.ConnectionString = Globals.sConnectionString_edoka
scmCmdToExecute.Parameters.Add(New SqlParameter("@fnkt", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, 1))
scmCmdToExecute.Parameters.Add(New SqlParameter("@param1", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, ""))
DossierDaten.Rows.Clear()
Try
sdaAdapter.Fill(DossierDaten)
Catch ex As Exception
Return False
Finally
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
dtToReturn.Dispose()
End Try
End Function
Public Function Set_Status_Dokumente_angefordert(dossiernr As Integer) As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
Dim dtToReturn As DataTable = New DataTable()
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute)
scmCmdToExecute.CommandText = "dbo.sp_elektr_dossier"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
conn_edoka.sConnectionString = sConnectionString_edoka
scmCmdToExecute.Connection = conn_edoka.scoDBConnection
scmCmdToExecute.Connection.ConnectionString = Globals.sConnectionString_edoka
scmCmdToExecute.Parameters.Add(New SqlParameter("@fnkt", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, 3))
scmCmdToExecute.Parameters.Add(New SqlParameter("@param1", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, dossiernr))
scmCmdToExecute.Connection.Open()
Try
scmCmdToExecute.ExecuteNonQuery()
Catch ex As Exception
Return False
Finally
scmCmdToExecute.Connection.Close()
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
dtToReturn.Dispose()
End Try
End Function
Public Function Set_Status_In_Bearbeitung(dossiernr As Integer) As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
Dim dtToReturn As DataTable = New DataTable()
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute)
scmCmdToExecute.CommandText = "dbo.sp_elektr_dossier"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
conn_edoka.sConnectionString = sConnectionString_edoka
scmCmdToExecute.Connection = conn_edoka.scoDBConnection
scmCmdToExecute.Connection.ConnectionString = Globals.sConnectionString_edoka
scmCmdToExecute.Parameters.Add(New SqlParameter("@fnkt", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, 2))
scmCmdToExecute.Parameters.Add(New SqlParameter("@param1", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, dossiernr))
scmCmdToExecute.Connection.Open()
Try
scmCmdToExecute.ExecuteNonQuery()
Catch ex As Exception
Return False
Finally
scmCmdToExecute.Connection.Close()
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
dtToReturn.Dispose()
End Try
End Function
Public Function Set_Status_Erfolgreich(dossiernr As Integer) As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
Dim dtToReturn As DataTable = New DataTable()
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute)
scmCmdToExecute.CommandText = "dbo.sp_elektr_dossier"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
'conn_edoka.sConnectionString = sConnectionString_edoka
scmCmdToExecute.Connection = conn_edoka.scoDBConnection
scmCmdToExecute.Connection.ConnectionString = Globals.sConnectionString_edoka
scmCmdToExecute.Parameters.Add(New SqlParameter("@fnkt", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, 4))
scmCmdToExecute.Parameters.Add(New SqlParameter("@param1", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, dossiernr))
scmCmdToExecute.Connection.Open()
Try
scmCmdToExecute.ExecuteNonQuery()
Catch ex As Exception
Return False
Finally
scmCmdToExecute.Connection.Close()
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
dtToReturn.Dispose()
End Try
End Function
Public Function Set_Status_Failed(dossiernr As Integer) As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
Dim dtToReturn As DataTable = New DataTable()
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute)
scmCmdToExecute.CommandText = "dbo.sp_elektr_dossier"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
conn_edoka.sConnectionString = sConnectionString_edoka
scmCmdToExecute.Connection = conn_edoka.scoDBConnection
scmCmdToExecute.Connection.ConnectionString = Globals.sConnectionString_edoka
scmCmdToExecute.Parameters.Add(New SqlParameter("@fnkt", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, 5))
scmCmdToExecute.Parameters.Add(New SqlParameter("@param1", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, dossiernr))
scmCmdToExecute.Connection.Open()
Try
scmCmdToExecute.ExecuteNonQuery()
Catch ex As Exception
Return False
Finally
scmCmdToExecute.Connection.Close()
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
dtToReturn.Dispose()
End Try
End Function
Public Function Get_Dokumentbezeichnung(dokumentid As String) As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
Dim dtToReturn As DataTable = New DataTable()
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute)
scmCmdToExecute.CommandText = "dbo.sp_elektr_dossier"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
conn_edoka.sConnectionString = sConnectionString_edoka
scmCmdToExecute.Connection = conn_edoka.scoDBConnection
scmCmdToExecute.Connection.ConnectionString = Globals.sConnectionString_edoka
scmCmdToExecute.Parameters.Add(New SqlParameter("@fnkt", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, 12))
scmCmdToExecute.Parameters.Add(New SqlParameter("@param1", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, dokumentid))
Try
sdaAdapter.Fill(dtToReturn)
Try
Return dtToReturn
Catch
Return Nothing
End Try
Catch ex As Exception
Return Nothing
Finally
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
dtToReturn.Dispose()
End Try
End Function
Public Function get_colddokumentid(ByVal dokumentid As String, ByVal fnkt As Integer) As String
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.sp_get_colddokumentid"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = New DataTable()
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute)
scmCmdToExecute.Connection = conn_edoka.scoDBConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@dokumentid", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, dokumentid))
scmCmdToExecute.Parameters.Add(New SqlParameter("@fnkt", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, fnkt))
scmCmdToExecute.Parameters.Add(New SqlParameter("@colddokumentid", SqlDbType.VarChar, 255, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, ""))
scmCmdToExecute.Parameters.Add(New SqlParameter("@coldpartnernr", SqlDbType.VarChar, 255, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, ""))
sdaAdapter.Fill(dtToReturn)
get_colddokumentid = scmCmdToExecute.Parameters("@colddokumentid").Value
Catch ex As Exception
MsgBox("Status Dokumentbearbeitung::" & scmCmdToExecute.CommandText + "::" + ex.Message)
Finally
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
dtToReturn.Dispose()
End Try
End Function
Public Function get_dokumnet_from_db(ByVal Dokumentid As String, ByVal dokumentname As String) As String
Dim connection As New SqlConnection()
Dim da As New SqlDataAdapter("Select * From doks where dokumentid='" + Dokumentid + "'", connection)
Dim CB As SqlCommandBuilder = New SqlCommandBuilder(da)
Dim ds As New DataSet()
Try
connection.ConnectionString = Globals.sConnectionString_edoka
connection.Open()
da.Fill(ds, "docs")
Dim myRow As DataRow
myRow = ds.Tables(0).Rows(0)
Dim MyData() As Byte
MyData = myRow.Item(1)
Dim K As Long
K = UBound(MyData)
Dim sdokumentname As String = params.Temp_Folder + "\" + dokumentname
Dim fs As New FileStream(sdokumentname, FileMode.OpenOrCreate, FileAccess.Write)
fs.Write(MyData, 0, K)
fs.Close()
fs = Nothing
Catch ex As Exception
Return False
End Try
CB = Nothing
ds = Nothing
da = Nothing
connection.Close()
connection = Nothing
Return True
End Function
Public Function Save_ZipFile(ByVal dossiernr As Integer, Filename As String)
Dim connection As New SqlConnection()
Dim da As New SqlDataAdapter("Select top 1 * from Elektr_Dossier_ZIP where Elektr_Dossier_ZIPnr=-1", connection)
Dim CB As SqlCommandBuilder = New SqlCommandBuilder(da)
Dim ds As New DataSet()
Dim fs As New FileStream(Filename, FileMode.OpenOrCreate, FileAccess.Read)
Dim mydata(fs.Length) As Byte
fs.Read(mydata, 0, fs.Length)
fs.Close()
Try
connection.ConnectionString = Globals.sConnectionString_edoka
connection.Open()
da.Fill(ds, "docs")
Dim myRow As DataRow
If ds.Tables(0).Rows.Count = 0 Then
myRow = ds.Tables(0).NewRow
myRow.Item(1) = dossiernr
myRow.Item(2) = mydata
myRow.Item(3) = 0
myRow.Item(4) = Now
myRow.Item(5) = Now
myRow.Item(6) = 1
myRow.Item(7) = 9999
ds.Tables(0).Rows.Add(myRow)
da.Update(ds, "docs")
Else
myRow = ds.Tables(0).Rows(0)
myRow.Item(1) = mydata
da.Update(ds, "profil")
End If
Catch ex As Exception
Return False
End Try
CB = Nothing
ds = Nothing
da = Nothing
connection.Close()
connection = Nothing
Return True
End Function
End Class
@@ -0,0 +1,26 @@
Imports System.ComponentModel
Imports Microsoft.VisualBasic
Namespace edokadb
Public Class DB_Connection
Shared Sub New()
'Edoka
sConnectionString_edoka = params.EDOKA_Connection
Globals.sConnectionString_edoka = sConnectionString_edoka
'Journale
sConnectionString_journale = params.Journale_Connection
Globals.sConnectionString_journale = sConnectionString_journale
Globals.conn_edoka.sConnectionString = sConnectionString_edoka
Globals.conn_journale.sConnectionString = sConnectionString_journale
End Sub
End Class
End Namespace
+192
View File
@@ -0,0 +1,192 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{764592D3-EDF1-4BCC-B13C-70B79A850828}</ProjectGuid>
<OutputType>WinExe</OutputType>
<StartupObject>EDKB17.Service1</StartupObject>
<RootNamespace>EDKB17</RootNamespace>
<AssemblyName>EDKB17</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>Console</MyType>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>Full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>EDKB17.xml</DocumentationFile>
<NoWarn>41999,42016,42017,42018,42019,42032,42036</NoWarn>
<Optimize>true</Optimize>
<WarningsAsErrors>
</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>EDKB17.xml</DocumentationFile>
<NoWarn>41999,42016,42017,42018,42019,42032,42036</NoWarn>
<WarningsAsErrors>
</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>Off</OptionInfer>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>My Project\app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x86\Debug\</OutputPath>
<DocumentationFile>EDKB17.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>41999,42016,42017,42018,42019,42032,42036</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<WarningsAsErrors>
</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<DefineTrace>true</DefineTrace>
<OutputPath>bin\x86\Release\</OutputPath>
<DocumentationFile>EDKB17.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoWarn>41999,42016,42017,42018,42019,42032,42036</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<WarningsAsErrors>
</WarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="ICSharpCode.SharpZipLib, Version=0.85.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.Chart.Base, Version=15.1400.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.Chart.Windows, Version=15.1451.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.DocIO.ClientProfile, Version=15.1400.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.DocIO.Windows, Version=15.1400.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.DocToPDFConverter.ClientProfile, Version=15.1400.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.OfficeChart.Base, Version=15.1400.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.OfficeChartToImageConverter.WPF, Version=15.1400.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.Pdf.ClientProfile, Version=15.1400.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.ServiceProcess" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http">
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Collections.Generic" />
<Import Include="System.Data" />
<Import Include="System.Diagnostics" />
<Import Include="System.Linq" />
<Import Include="System.Xml.Linq" />
<Import Include="System.Threading.Tasks" />
</ItemGroup>
<ItemGroup>
<Compile Include="DB\clsConnectionProvider.vb" />
<Compile Include="DB\clsDBInteractionBase.vb" />
<Compile Include="DB\clsDBZugriffe.vb" />
<Compile Include="DB\db_connection.vb" />
<Compile Include="Globals.vb" />
<Compile Include="Klassem\clsParameter.vb" />
<Compile Include="Klassem\ZipClass.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Include="ProjectInstaller.Designer.vb">
<DependentUpon>ProjectInstaller.vb</DependentUpon>
</Compile>
<Compile Include="ProjectInstaller.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Service1.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Service1.Designer.vb">
<DependentUpon>Service1.vb</DependentUpon>
</Compile>
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="Verarbeitung\clsVerarbeitung.vb" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ProjectInstaller.resx">
<DependentUpon>ProjectInstaller.vb</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="My Project\app.manifest" />
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
<None Include="App.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
+32
View File
@@ -0,0 +1,32 @@
Module Globals
Public sConnectionString_edoka As String
Public sConnectionString_journale As String
Public conn_edoka As New edokadb.clsConnectionProvider()
Public conn_journale As New edokadb.clsConnectionProvider()
Public params As New ClsParameters
Public ofile As System.IO.File
Public oread As System.IO.StreamReader
Public Sub PrintOut(ByVal s As String)
'Console.WriteLine(Format(Now, "yyyyMMddHHmmss") + ": " + s)
PrintLog(Format(Now, "yyyyMMddHHmmss") + ": " + s, EventLogEntryType.Information)
End Sub
Dim EVLog As New EventLog("Log_EDKB17")
Public Sub PrintLog(ByVal message As String, Optional ByVal eventmessage As EventLogEntryType = EventLogEntryType.Information)
#If CONFIG = "Release" Then 'Release
If Not EventLog.SourceExists("EDKB17") Then
EventLog.CreateEventSource("EDKB17", "EDKB17 Log")
End If
EVLog.Source = "EDKB17 Log"
EventLog.WriteEntry(EVLog.Source, message, eventmessage)
#Else
Debug.Print(message)
#End If
End Sub
End Module
@@ -0,0 +1,92 @@
Imports System.IO
Imports ICSharpCode.SharpZipLib.Zip
Imports ICSharpCode.SharpZipLib.Tar
Public Class ZipClass
Dim m_zipfilename As String
Property ZipFileName As String
Get
Return m_zipfilename
End Get
Set(value As String)
m_zipfilename = value
End Set
End Property
Public Sub Extract_Zip(Filename As String, dossiernr As Integer, extractto As String, retfilename As String)
Dim fastzip As New FastZip
Dim FileFilter As String = ""
fastzip.ExtractZip(Filename, extractto, FileFilter)
Create_Structure(dossiernr, retfilename, extractto)
End Sub
Private Sub Create_Structure(dossiernr As Integer, retfilename As String, filepath As String)
FileOpen(1, retfilename, OpenMode.Input)
Dim s As String
Dim dt As New DataTable
Dim RootDirectory As String
Dim db As New clsDBZugriffe
Dim Subdirectory_Name As String
While Not EOF(1)
Input(1, s)
Try
Dim startindex As Integer = s.IndexOf("NRDOK00 = '") + 11
If startindex < 11 Then startindex = s.IndexOf("NRDOC00 = '") + 11
Dim endindex As Integer = s.IndexOf("] [-o") - 2 - startindex
Dim dokumentid As String = s.Substring(startindex, endindex)
Dim DestFilename As String = ""
startindex = s.IndexOf("[-o ") + 3
endindex = s.IndexOf("] [-a]") - 0 - startindex
Dim filename As String = s.Substring(startindex, endindex)
dt = db.Get_Dokumentbezeichnung(dokumentid)
Dim directoryname As String
directoryname = My.Settings.Temp_Folder + "\" + dossiernr.ToString + "_" + dt.Rows(0).Item(3).ToString
RootDirectory = directoryname
If System.IO.Directory.Exists(directoryname) Then
Else
System.IO.Directory.CreateDirectory(directoryname)
End If
Subdirectory_Name = dt.Rows(0).Item(1)
Subdirectory_Name = Subdirectory_Name.Replace("/", "_")
directoryname = directoryname + "\" + Subdirectory_Name
If System.IO.Directory.Exists(directoryname) Then
Else
System.IO.Directory.CreateDirectory(directoryname)
End If
DestFilename = dt.Rows(0).Item(0).ToString + ".pdf"
DestFilename = DestFilename.Replace("/", "_")
DestFilename = DestFilename.Replace("\", "_")
DestFilename = DestFilename.Replace(":", "_")
Try
System.IO.File.Move(filepath + "\" + filename + ".pdf", directoryname + "\" + dt.Rows(0).Item(4).ToString + "_" + DestFilename)
Catch
End Try
Catch ex As Exception
PrintLog(ex.Message)
End Try
End While
FileClose(1)
Create_new_zip(RootDirectory)
End Sub
Private Sub Create_new_zip(ByVal Directory As String)
Dim fastzip As New FastZip
Dim recurse As Boolean = True
Dim Filter = ""
Me.ZipFileName = Directory + ".zip"
fastzip.CreateZip(Me.ZipFileName, Directory, recurse, Filter)
End Sub
End Class
@@ -0,0 +1,82 @@
Imports System.IO
'''<summary>Klasse zum auselesen der Steuerparameter aus der Datei
'''\bin\parameters.cfg</summary>
'''<author>Stefan Hutter</author>
Public Class ClsParameters
#Region "Deklarationen"
Dim m_EDOKA_Connection As String
Property EDOKA_Connection As String
Get
Return m_EDOKA_Connection
End Get
Set(value As String)
m_EDOKA_Connection = value
End Set
End Property
Dim m_Journale_Connection As String
Property Journale_Connection As String
Get
Return m_Journale_Connection
End Get
Set(value As String)
m_Journale_Connection = value
End Set
End Property
Dim m_temp_folder As String
Property Temp_Folder As String
Get
Return m_temp_folder
End Get
Set(value As String)
m_temp_folder = value
End Set
End Property
Dim m_timerintervall As Integer
Property TimeIntervall As Integer
Get
Return m_timerintervall
End Get
Set(value As Integer)
m_timerintervall = value
End Set
End Property
Dim m_zipfilder As String
Property ZipFolder As String
Get
Return m_zipfilder
End Get
Set(value As String)
m_zipfilder = value
End Set
End Property
#End Region
'''<summary>Laden der Parameterdaten aus parameters.cfg</summary>
'''<remarks>Die Funktion lädt für die Anwendung die notwendigen Parameter aus der
'''Datei "Parameters.cfg"</remarks>
'''<returns>True im OK-Fall
'''False im Fehlerfall</returns>
Public Function Loadparameters() As Boolean
Try
Me.EDOKA_Connection = My.Settings.EDOKA_Connection
Me.Journale_Connection = My.Settings.Journale_Connectoin
Me.Temp_Folder = My.Settings.Temp_Folder
Me.TimeIntervall = My.Settings.TimerIntervall_in_Sekunden * 1000
Me.ZipFolder = My.Settings.ZIP_Folder
Return True
Catch ex As Exception
Return False
End Try
End Function
End Class
@@ -0,0 +1,13 @@
'------------------------------------------------------------------------------
' <auto-generated>
' Dieser Code wurde von einem Tool generiert.
' Laufzeitversion:4.0.30319.42000
'
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
' der Code erneut generiert wird.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MySubMain>false</MySubMain>
<SingleInstance>false</SingleInstance>
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
<ApplicationType>3</ApplicationType>
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
</MyApplicationData>
@@ -0,0 +1,35 @@
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' Allgemeine Informationen über eine Assembly werden über die folgenden
' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
' die einer Assembly zugeordnet sind.
' Werte der Assemblyattribute überprüfen
<Assembly: AssemblyTitle("EDKB17")>
<Assembly: AssemblyDescription("EDKB17")>
<Assembly: AssemblyCompany("Stefan Hutter Unternehmensberatung")>
<Assembly: AssemblyProduct("EDKB17")>
<Assembly: AssemblyCopyright("Copyright © 2017")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(True)>
'Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird.
<Assembly: Guid("195753a1-f731-4d77-9341-f5a6d29b006f")>
' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
'
' Hauptversion
' Nebenversion
' Buildnummer
' Revision
'
' Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>
@@ -0,0 +1,63 @@
'------------------------------------------------------------------------------
' <auto-generated>
' Dieser Code wurde von einem Tool generiert.
' Laufzeitversion:4.0.30319.42000
'
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
' der Code erneut generiert wird.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Imports System
Namespace My.Resources
'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
'-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
'''<summary>
''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
'''</summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
Friend Module Resources
Private resourceMan As Global.System.Resources.ResourceManager
Private resourceCulture As Global.System.Globalization.CultureInfo
'''<summary>
''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
Get
If Object.ReferenceEquals(resourceMan, Nothing) Then
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("EDKB17.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<summary>
''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend Property Culture() As Global.System.Globalization.CultureInfo
Get
Return resourceCulture
End Get
Set
resourceCulture = value
End Set
End Property
End Module
End Namespace
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
@@ -0,0 +1,210 @@
'------------------------------------------------------------------------------
' <auto-generated>
' Dieser Code wurde von einem Tool generiert.
' Laufzeitversion:4.0.30319.42000
'
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
' der Code erneut generiert wird.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Partial Friend NotInheritable Class MySettings
Inherits Global.System.Configuration.ApplicationSettingsBase
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
#Region "Funktion zum automatischen Speichern von My.Settings"
#If _MyType = "WindowsForms" Then
Private Shared addedHandler As Boolean
Private Shared addedHandlerLockObject As New Object
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
If My.Application.SaveMySettingsOnExit Then
My.Settings.Save()
End If
End Sub
#End If
#End Region
Public Shared ReadOnly Property [Default]() As MySettings
Get
#If _MyType = "WindowsForms" Then
If Not addedHandler Then
SyncLock addedHandlerLockObject
If Not addedHandler Then
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
addedHandler = True
End If
End SyncLock
End If
#End If
Return defaultInstance
End Get
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("Data Source=shu00;Initial Catalog=edoka;Persist Security Info=False;workstation i"& _
"d =;packet size=4096;User ID=sa;Password=*shu29")> _
Public Property EDOKA_Connection() As String
Get
Return CType(Me("EDOKA_Connection"),String)
End Get
Set
Me("EDOKA_Connection") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("Data Source=shu00;Initial Catalog=edoka_journale;Persist Security Info=False;work"& _
"station id =;packet size=4096;User ID=sa;Password=*shu29")> _
Public Property Journale_Connectoin() As String
Get
Return CType(Me("Journale_Connectoin"),String)
End Get
Set
Me("Journale_Connectoin") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("K:\EDOKA\EDKB17")> _
Public Property Temp_Folder() As String
Get
Return CType(Me("Temp_Folder"),String)
End Get
Set
Me("Temp_Folder") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("2")> _
Public Property TimerIntervall_in_Sekunden() As String
Get
Return CType(Me("TimerIntervall_in_Sekunden"),String)
End Get
Set
Me("TimerIntervall_in_Sekunden") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("K:\EDOKA\EDKB17\ZIP")> _
Public Property ZIP_Folder() As String
Get
Return CType(Me("ZIP_Folder"),String)
End Get
Set
Me("ZIP_Folder") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("[-f ""TGKB EDOKA-Partner""] [-G TGKB-C35-EW-EDOKA-Put1.0] [-i "" NRDOC00 = '##DokID#"& _
"#'""] [-o ##FileName##] [-a] [-c] [-N]")> _
Public Property Cold_Param_EDOKA_Partner() As String
Get
Return CType(Me("Cold_Param_EDOKA_Partner"),String)
End Get
Set
Me("Cold_Param_EDOKA_Partner") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("[-f ""TGKB ZV-Scanning Belege""] [-i ""where NRDOT00 = '##DokTyp##' and NRAUF00 = '#"& _
"#AuftragNr##' and NRDOC00 = '##Paginator##'""] [-o ##FileName##] [-a] [-c] [-N]")> _
Public Property Cold_Parameter_ZV() As String
Get
Return CType(Me("Cold_Parameter_ZV"),String)
End Get
Set
Me("Cold_Parameter_ZV") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("True")> _
Public Property DemoMode() As String
Get
Return CType(Me("DemoMode"),String)
End Get
Set
Me("DemoMode") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("[-f ""TGKB Kundenoutput ab 01.08.2008""] [-G TGKB-C35-10-XOMA-Rel1.0] [-i ""where MA"& _
"ILINGID = ##DokID##""] [-o ##FileName##] [-a] [-c] [-N]")> _
Public Property Cold_Param_Host() As String
Get
Return CType(Me("Cold_Param_Host"),String)
End Get
Set
Me("Cold_Param_Host") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("True")> _
Public Property Strukturaufloesen() As String
Get
Return CType(Me("Strukturaufloesen"),String)
End Get
Set
Me("Strukturaufloesen") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("True")> _
Public Property tgz_return() As String
Get
Return CType(Me("tgz_return"),String)
End Get
Set
Me("tgz_return") = value
End Set
End Property
End Class
End Namespace
Namespace My
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
Friend ReadOnly Property Settings() As Global.EDKB17.My.MySettings
Get
Return Global.EDKB17.My.MySettings.Default
End Get
End Property
End Module
End Namespace
@@ -0,0 +1,39 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="My" GeneratedClassName="MySettings" UseMySettingsClassName="true">
<Profiles />
<Settings>
<Setting Name="EDOKA_Connection" Type="System.String" Scope="User">
<Value Profile="(Default)">Data Source=shu00;Initial Catalog=edoka;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</Value>
</Setting>
<Setting Name="Journale_Connectoin" Type="System.String" Scope="User">
<Value Profile="(Default)">Data Source=shu00;Initial Catalog=edoka_journale;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</Value>
</Setting>
<Setting Name="Temp_Folder" Type="System.String" Scope="User">
<Value Profile="(Default)">K:\EDOKA\EDKB17</Value>
</Setting>
<Setting Name="TimerIntervall_in_Sekunden" Type="System.String" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
<Setting Name="ZIP_Folder" Type="System.String" Scope="User">
<Value Profile="(Default)">K:\EDOKA\EDKB17\ZIP</Value>
</Setting>
<Setting Name="Cold_Param_EDOKA_Partner" Type="System.String" Scope="User">
<Value Profile="(Default)">[-f "TGKB EDOKA-Partner"] [-G TGKB-C35-EW-EDOKA-Put1.0] [-i " NRDOC00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</Value>
</Setting>
<Setting Name="Cold_Parameter_ZV" Type="System.String" Scope="User">
<Value Profile="(Default)">[-f "TGKB ZV-Scanning Belege"] [-i "where NRDOT00 = '##DokTyp##' and NRAUF00 = '##AuftragNr##' and NRDOC00 = '##Paginator##'"] [-o ##FileName##] [-a] [-c] [-N]</Value>
</Setting>
<Setting Name="DemoMode" Type="System.String" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="Cold_Param_Host" Type="System.String" Scope="User">
<Value Profile="(Default)">[-f "TGKB Kundenoutput ab 01.08.2008"] [-G TGKB-C35-10-XOMA-Rel1.0] [-i "where MAILINGID = ##DokID##"] [-o ##FileName##] [-a] [-c] [-N]</Value>
</Setting>
<Setting Name="Strukturaufloesen" Type="System.String" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="tgz_return" Type="System.String" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>
@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC-Manifestoptionen
Wenn Sie die Ebene der Benutzerkontensteuerung für Windows ändern möchten, ersetzen Sie den
Knoten "requestedExecutionLevel" wie folgt.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Durch Angabe des Elements "requestedExecutionLevel" wird die Datei- und Registrierungsvirtualisierung deaktiviert.
Entfernen Sie dieses Element, wenn diese Virtualisierung aus Gründen der Abwärtskompatibilität
für die Anwendung erforderlich ist.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Eine Liste der Windows-Versionen, unter denen diese Anwendung getestet
und für die sie entwickelt wurde. Wenn Sie die Auskommentierung der entsprechenden Elemente aufheben,
wird von Windows automatisch die kompatibelste Umgebung ausgewählt. -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- Gibt an, dass die Anwendung mit DPI-Werten kompatibel ist und von Windows nicht automatisch auf höhere
DPI-Werte skaliert wird. WPF-Anwendungen (Windows Presentation Foundation) sind automatisch mit DPI-Werten kompatibel und müssen sich nicht
anmelden. Für Windows Forms-Anwendungen für .NET Framework 4.6, die sich für diese Einstellung anmelden, muss
auch die Einstellung "'EnableWindowsFormsHighDpiAutoResizing" in der "app.config" auf "true" festgelegt werden. -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
<!-- Designs für allgemeine Windows-Steuerelemente und -Dialogfelder (Windows XP und höher) aktivieren -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>
@@ -0,0 +1,47 @@
<System.ComponentModel.RunInstaller(True)> Partial Class ProjectInstaller
Inherits System.Configuration.Install.Installer
'Installer überschreibt den Löschvorgang zum Bereinigen der Komponentenliste.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
'Wird vom Komponenten-Designer benötigt.
Private components As System.ComponentModel.IContainer
'Hinweis: Die folgende Prozedur ist für den Komponenten-Designer erforderlich.
'Das Bearbeiten ist mit dem Komponenten-Designer möglich.
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
<System.Diagnostics.DebuggerStepThrough()>
Private Sub InitializeComponent()
Me.ServiceProcessInstaller1 = New System.ServiceProcess.ServiceProcessInstaller()
Me.ServiceInstaller1 = New System.ServiceProcess.ServiceInstaller()
'
'ServiceProcessInstaller1
'
Me.ServiceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem
Me.ServiceProcessInstaller1.Password = Nothing
Me.ServiceProcessInstaller1.Username = Nothing
'
'ServiceInstaller1
'
Me.ServiceInstaller1.DisplayName = "EDKB17"
Me.ServiceInstaller1.ServiceName = "EDKB17"
'
'ProjectInstaller
'
Me.Installers.AddRange(New System.Configuration.Install.Installer() {Me.ServiceProcessInstaller1, Me.ServiceInstaller1})
End Sub
Friend WithEvents ServiceProcessInstaller1 As ServiceProcess.ServiceProcessInstaller
Friend WithEvents ServiceInstaller1 As ServiceProcess.ServiceInstaller
End Class
@@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ServiceProcessInstaller1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ServiceInstaller1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>197, 17</value>
</metadata>
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>
@@ -0,0 +1,16 @@
Imports System.ComponentModel
Imports System.Configuration.Install
Public Class ProjectInstaller
Public Sub New()
MyBase.New()
'Dieser Aufruf ist für den Komponenten-Designer erforderlich.
InitializeComponent()
'Initialisierungscode nach dem Aufruf von InitializeComponent hinzufügen
End Sub
End Class
+59
View File
@@ -0,0 +1,59 @@
Imports System.ServiceProcess
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Service1
Inherits System.ServiceProcess.ServiceBase
'UserService überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
' Der Haupteinstiegspunkt für den Prozess
<MTAThread()>
<System.Diagnostics.DebuggerNonUserCode()>
Shared Sub Main()
#If CONFIG = "Release" Then
Dim ServicesToRun() As System.ServiceProcess.ServiceBase
ServicesToRun = New System.ServiceProcess.ServiceBase() {New Service1()}
System.ServiceProcess.ServiceBase.Run(ServicesToRun)
#Else
Dim myServ As New Service1
myServ.OnStart({""})
While (True)
System.Threading.Thread.Sleep(2000)
End While
#End If
'im ServicesToRun() As System.ServiceProcess.ServiceBase
' Innerhalb eines Prozesses können mehrere NT-Dienste ausgeführt werden. Um einen
' weiteren Dienst zu diesem Prozess hinzuzufügen, ändern Sie die folgende Zeile,
' um ein zweites Dienstobjekt zu erstellen. Zum Beispiel
'
' ServicesToRun = New System.ServiceProcess.ServiceBase () {New Service1, New MySecondUserService}
'
'ServicesToRun = New System.ServiceProcess.ServiceBase() {New Service1}
'ystem.ServiceProcess.ServiceBase.Run(ServicesToRun)
End Sub
'Wird vom Komponenten-Designer benötigt.
Private components As System.ComponentModel.IContainer
' Hinweis: Die folgende Prozedur ist für den Komponenten-Designer erforderlich.
' Das Bearbeiten ist mit dem Komponenten-Designer möglich.
' Das Bearbeiten mit dem Code-Editor ist nicht möglich.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
components = New System.ComponentModel.Container()
Me.ServiceName = "Service1"
End Sub
End Class
+143
View File
@@ -0,0 +1,143 @@
Imports System.IO
Imports System.Timers
Public Class Service1
Dim WithEvents fwinput As New FileSystemWatcher
Dim WithEvents CheckTimer As New Timers.Timer()
Protected Overrides Sub OnStart(ByVal args() As String)
' Code zum Starten des Dienstes hier einfügen. Diese Methode sollte Vorgänge
' ausführen, damit der Dienst gestartet werden kann.
PrintOut("Start EDKB17")
'Parameter auslesen
If params.Loadparameters() = False Then
PrintOut("Fehler beim Laden der Parameter")
PrintOut("Verarbeitung abgebrochen")
Exit Sub
End If
CheckTimer.Interval = params.TimeIntervall
CheckTimer.Start()
fwinput.Path = My.Settings.ZIP_Folder.ToString
Me.fwinput.EnableRaisingEvents = True
End Sub
Protected Overrides Sub OnStop()
' Hier Code zum Ausführen erforderlicher Löschvorgänge zum Beenden des Dienstes einfügen.
End Sub
Private Sub CheckTimer_Elapsed(sender As Object, e As ElapsedEventArgs) Handles CheckTimer.Elapsed
CheckTimer.Stop()
Verarbeiten()
CheckTimer.Start()
End Sub
Public Sub Verarbeiten()
Dim verarbeitung As New clsVerarbeitung
verarbeitung.Dossiers_Abarbeteiten()
End Sub
Private Sub fwInput_Created(ByVal sender As Object, ByVal e As System.IO.FileSystemEventArgs) Handles fwinput.Created
System.Threading.Thread.Sleep(5000)
'Wenn ein .ret-File erstellt wurde Prozedur CheckForRetFiles aufrufen
Me.CheckForRetFiles()
End Sub
Public Sub CheckForRetFiles()
Dim inputFile As String
Dim inputFileFullPath As String
Dim fi As FileInfo
Dim dir As New DirectoryInfo(fwinput.Path)
'Alle Files im überwachten Verzeichnis überprüfen
Threading.Thread.Sleep(5000)
For Each fi In dir.GetFiles
If fi.Extension = ".ret" Then 'Wenn ein .ret-File gefunden wird Prozedur ProcessColdOutput aufrufen
Dim s As String
If File.Exists(fi.FullName) Then
s = fi.FullName
Try
Rename(s, s + "_done")
Catch ex As Exception
End Try
inputFile = fi.Name + "_done"
inputFileFullPath = fi.FullName + "_done"
Process_files(fi.FullName, True)
End If
End If
'Erweiterung um den "FAILED" Fall abzufangen
If fi.Extension = ".FAILED" Then 'Wenn ein .FAILED-File gefunden wird Prozedur ProcessColdOutputNOK aufrufen
Dim s As String
If File.Exists(fi.FullName) Then
s = fi.FullName
Try
Rename(s, s + "_done")
Catch ex As Exception
'm_log.Log("Service1:CheckForFailedFiles:" + ex.Message + ex.StackTrace, Common.Common.JournalEntryType.Warning)
End Try
inputFile = fi.Name + "_done"
inputFileFullPath = fi.FullName + "_done"
Process_files(fi.FullName, False)
End If
End If
Next
End Sub
Sub Process_files(ByVal filename As String, OK As Boolean)
Dim db As New clsDBZugriffe
Dim dossiernr As String
Dim words As String() = filename.Split("_")
dossiernr = System.IO.Path.GetFileName(words(0))
If OK = True Then
If My.Settings.Strukturaufloesen = "True" Then
Dim zip As New ZipClass
zip.Extract_Zip(System.IO.Path.GetDirectoryName(filename) + "\" + System.IO.Path.GetFileNameWithoutExtension(filename) + ".zip", dossiernr, My.Settings.Temp_Folder + "\" + dossiernr.ToString, filename + "_done")
db.Set_Status_Erfolgreich(dossiernr)
db.Save_ZipFile(dossiernr, zip.ZipFileName)
Delete_tempFiles(dossiernr, zip.ZipFileName)
Else
Dim zip As New ZipClass
If My.Settings.tgz_return = "True" Then
zip.Extract_Zip(System.IO.Path.GetDirectoryName(filename) + "\" + System.IO.Path.GetFileNameWithoutExtension(filename) + ".tgz", dossiernr, My.Settings.Temp_Folder + "\" + dossiernr.ToString, filename + "_done")
Else
zip.Extract_Zip(System.IO.Path.GetDirectoryName(filename) + "\" + System.IO.Path.GetFileNameWithoutExtension(filename) + ".zip", dossiernr, My.Settings.Temp_Folder + "\" + dossiernr.ToString, filename + "_done")
End If
db.Set_Status_Erfolgreich(dossiernr)
db.Save_ZipFile(dossiernr, System.IO.Path.GetDirectoryName(filename) + "\" + System.IO.Path.GetFileNameWithoutExtension(filename) + ".zip")
Delete_tempFiles(dossiernr, System.IO.Path.GetDirectoryName(filename) + "\" + System.IO.Path.GetFileNameWithoutExtension(filename) + ".zip")
End If
Else
db.Set_Status_Failed(dossiernr)
End If
End Sub
Sub Delete_tempFiles(ByVal dossiernr As Integer, ByVal zipfile As String)
If My.Settings.DemoMode = "True" Then Exit Sub
Try
System.IO.Directory.Delete(My.Settings.Temp_Folder + "\" + dossiernr.ToString)
Catch
End Try
Try
Dim tempdir As String = zipfile
tempdir = System.IO.Path.GetFileNameWithoutExtension(tempdir)
System.IO.Directory.Delete(My.Settings.Temp_Folder + "\" + tempdir, True)
Catch
End Try
Try
System.IO.File.Delete(zipfile)
Catch
End Try
End Sub
End Class
@@ -0,0 +1,277 @@
Imports System.Data.SqlClient
Imports System.Data.SqlDbType
Imports System.IO
Imports System
Imports Syncfusion.DocIO.DLS
Imports Syncfusion.DocToPDFConverter
Imports Syncfusion.Pdf
Imports Syncfusion.OfficeChart
Imports Syncfusion.OfficeChartToImageConverter
Imports Syncfusion.Windows.Forms
Imports Syncfusion.DocIO
Imports ICSharpCode.SharpZipLib.Checksums
Imports ICSharpCode.SharpZipLib.Zip
Public Class clsVerarbeitung
Dim dbconn As New edokadb.DB_Connection
Dim dbzugriff As New clsDBZugriffe
Dim ColdParameter_Filename As String
Dim InputFilename As String
Dim OutputFilename As String
Dim RetFilename As String
Dim objCrc32 As New Crc32
Dim strmZipOutputStream As ZipOutputStream
Dim Cold_Parameter_Datei As String
Dim ZIP_Filename As String
Dim FileNumber As Integer
Public Sub Dossiers_Abarbeteiten()
Dim filestozip As New Collection
filestozip = Nothing
filestozip = New Collection
dbzugriff.Get_Pendente_Dossiers()
Dim tmpDossiernr As Integer = 0
'ColdParameter_Filename = params.Temp_Folder + Now.ToString("yyyyMMddhhmmss") + "_" + r("elektr_dossiernr") + "_1.txt"
For Each r As DataRow In dbzugriff.DossierDaten.Rows
If tmpDossiernr <> r("elektr_dossiernr") Then
If filestozip.Count > 0 Then
Add_Files_To_Zip(filestozip)
System.IO.File.Move(ZIP_Filename, params.ZipFolder + "\" + System.IO.Path.GetFileName(ZIP_Filename))
End If
If FileNumber > 0 Then
FileSystem.Rename(ColdParameter_Filename + ".123", ColdParameter_Filename)
Else
If tmpDossiernr > 0 Then dbzugriff.Set_Status_Erfolgreich(tmpDossiernr)
End If
If tmpDossiernr <> 0 Then
dbzugriff.Set_Status_Dokumente_angefordert(tmpDossiernr)
End If
tmpDossiernr = r("elektr_dossiernr")
If tmpDossiernr <> 0 Then
dbzugriff.Set_Status_In_Bearbeitung(tmpDossiernr)
End If
ZIP_Filename = params.Temp_Folder + "\" + r("elektr_dossiernr").ToString + "_" + Now.ToString("yyyyMMddhhmmss") + ".zip"
If FileNumber > 0 Then
FileSystem.Rename(ColdParameter_Filename, Left(ColdParameter_Filename, Len(ColdParameter_Filename) - 4))
End If
ColdParameter_Filename = params.Temp_Folder + "\" + r("elektr_dossiernr").ToString + "_C_" + Now.ToString("yyyyMMddhhmmss") + ".txt"
FileNumber = 0
If My.Settings.DemoMode = "True" Then
If FileNumber > 0 Then
Create_Demo_Cold_ZipFile()
Rename(ColdParameter_Filename, params.ZipFolder + "\" + System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename) + ".ret")
Rename(System.IO.Path.GetDirectoryName(ColdParameter_Filename) + "\" + System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename) + ".zip", params.ZipFolder + "\" + System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename) + ".zip")
End If
End If
End If
Select Case r("Dokumenttyp")
Case 1 'EDOKA-Dokumente
Dim colddokumentid As String
colddokumentid = dbzugriff.get_colddokumentid(r("dokumentid"), 0)
If colddokumentid = "Office" Then
Try
dbzugriff.get_dokumnet_from_db(r("Dokumentid"), r("Dokumentname"))
Select Case UCase(System.IO.Path.GetExtension(params.Temp_Folder + "\" + r("Dokumentname")))
Case ".PDF"
filestozip.Add(r("Dokumentname"))
Case ".DOC", ".DOCX", ".DOT", ".DOTX", ".DOCM", ".DOTM"
InputFilename = params.Temp_Folder + "\" + r("dokumentname")
OutputFilename = Convert_word_to_pdf(InputFilename)
If OutputFilename <> "" Then filestozip.Add(OutputFilename)
Case ".XLS", ".XLM", ".XLXS", ".XLSM", ".XLTX", ".XLMX"
Case Else
End Select
Catch
End Try
Else
FileNumber = FileNumber + 1
Set_Cold_parameter(colddokumentid, r("Dokumenttyp"))
'Set_Cold_parameter(r("Dokumentid"), r("Dokumenttyp"))
End If
Case 2 'HOST-Dokumente
FileNumber = FileNumber + 1
Set_Cold_parameter(r("Dokumentid"), r("Dokumenttyp"))
Case 3 'ZV-Dokumente
FileNumber = FileNumber + 1
Set_Cold_parameter(r("Dokumentid"), r("Dokumenttyp"))
End Select
Next
If filestozip.Count > 0 Then
Add_Files_To_Zip(filestozip, True)
'System.IO.File.Move(ZIP_Filename, params.ZipFolder + "\" + System.IO.Path.GetFileName(ZIP_Filename))
dbzugriff.Save_ZipFile(tmpDossiernr, My.Settings.Temp_Folder + "\" + System.IO.Path.GetFileNameWithoutExtension(ZIP_Filename) + "_EDOKA.zip")
File.Delete(My.Settings.Temp_Folder + "\" + System.IO.Path.GetFileNameWithoutExtension(ZIP_Filename) + "_EDOKA.zip")
End If
If FileNumber > 0 Then
FileSystem.Rename(ColdParameter_Filename + ".123", ColdParameter_Filename)
Else
If tmpDossiernr > 0 Then dbzugriff.Set_Status_Erfolgreich(tmpDossiernr)
End If
If My.Settings.DemoMode = "True" Then
If FileNumber > 0 Then
Create_Demo_Cold_ZipFile()
Rename(System.IO.Path.GetDirectoryName(ColdParameter_Filename) + "\" + System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename) + ".zip", params.ZipFolder + "\" + System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename) + ".zip")
Rename(ColdParameter_Filename, params.ZipFolder + "\" + System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename) + ".ret")
End If
End If
If tmpDossiernr > 0 And FileNumber > 0 Then dbzugriff.Set_Status_Dokumente_angefordert(tmpDossiernr)
End Sub
Private Sub Create_Demo_Cold_ZipFile()
strmZipOutputStream = New ZipOutputStream(File.Create(System.IO.Path.GetDirectoryName(ColdParameter_Filename) + "\" + System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename) + ".zip"))
strmZipOutputStream.SetLevel(6)
Dim s As String
FileOpen(1, ColdParameter_Filename, OpenMode.Input)
While Not EOF(1)
Input(1, s)
Dim startindex As Integer = s.IndexOf("NRDOK00 = '") + 11
If startindex < 11 Then startindex = s.IndexOf("NRDOC00 = '") + 11
Dim endindex As Integer = s.IndexOf("] [-o") - 2 - startindex
Dim dokumentid As String = s.Substring(startindex, endindex)
Dim db As New clsDBZugriffe
startindex = s.IndexOf("[-o ") + 3
endindex = s.IndexOf("] [-a]") - 0 - startindex
'Dim bezeichnung As String = db.Get_Dokumentbezeichnung(dokumentid)
Dim bezeichnung As String = s.Substring(startindex, endindex)
File.Copy(My.Settings.Temp_Folder + "\dokumente\Demo_OnDemand_Dokument.pdf", My.Settings.Temp_Folder + "\" + bezeichnung + ".pdf")
AddToZip(My.Settings.Temp_Folder + "\" + bezeichnung + ".pdf")
File.Delete(My.Settings.Temp_Folder + "\" + bezeichnung + ".pdf")
End While
FileClose(1)
strmZipOutputStream.Finish()
strmZipOutputStream.Close()
End Sub
Sub Add_Files_To_Zip(filestozip As Collection, Optional EDOKA_Files As Boolean = False)
Try
If EDOKA_Files = True Then
strmZipOutputStream = New ZipOutputStream(File.Create(My.Settings.Temp_Folder + "\" + System.IO.Path.GetFileNameWithoutExtension(ZIP_Filename) + "_EDOKA.zip"))
Else
strmZipOutputStream = New ZipOutputStream(File.Create(ZIP_Filename))
End If
strmZipOutputStream.SetLevel(6)
Dim strFile As String
For Each strFile In filestozip
AddToZip(params.Temp_Folder + "\" + UCase(strFile))
Next
strmZipOutputStream.Finish()
strmZipOutputStream.Close()
Catch ex As Exception
PrintLog(ex.Message)
End Try
End Sub
Private Sub AddToZip(ByVal Filename As String)
Try
Dim strmFile As FileStream = File.OpenRead(Filename)
Dim abyBuffer(strmFile.Length - 1) As Byte
strmFile.Read(abyBuffer, 0, abyBuffer.Length)
Dim objZipEntry As ZipEntry = New ZipEntry(System.IO.Path.GetFileName(Filename))
objZipEntry.DateTime = Now
objZipEntry.Size = strmFile.Length
strmFile.Close()
objCrc32.Reset()
objCrc32.Update(abyBuffer)
objZipEntry.Crc = objCrc32.Value
strmZipOutputStream.PutNextEntry(objZipEntry)
strmZipOutputStream.Write(abyBuffer, 0, abyBuffer.Length)
Catch ex As Exception
PrintLog(ex.Message)
End Try
End Sub
Public Function Convert_word_to_pdf(ByVal Filename As String) As String
Try
OutputFilename = System.IO.Path.GetDirectoryName(Filename) + "\" + System.IO.Path.GetFileNameWithoutExtension(Filename) + ".pdf"
Dim wordDocument As New WordDocument(Filename, FormatType.Docx)
wordDocument.ChartToImageConverter = New ChartToImageConverter()
Dim converter As New DocToPDFConverter()
Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument)
pdfDocument.Save(OutputFilename)
pdfDocument.Close(True)
wordDocument.Close()
Return System.IO.Path.GetFileName(OutputFilename)
Catch
Return ""
End Try
End Function
Dim owriter As System.IO.StreamWriter = Nothing
Sub Set_Cold_parameter(dokumentid As String, dokumenttyp As Integer, Optional zvtyp As String = "", Optional zvauftrag As String = "")
If FileNumber = 1 Then
owriter = File.CreateText(ColdParameter_Filename & ".123")
Else
owriter = File.AppendText(ColdParameter_Filename & ".123")
End If
Select Case dokumenttyp
Case 1
owriter.WriteLine(ParsParamDfg(My.Settings.Cold_Param_EDOKA_Partner, System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename), FileNumber.ToString, dokumentid, zvtyp, zvauftrag))
Case 2
owriter.WriteLine(ParsParamDfg(My.Settings.Cold_Param_Host, System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename), FileNumber.ToString, dokumentid, zvtyp, zvauftrag))
Case 3
owriter.WriteLine(ParsParamDfg(My.Settings.Cold_Parameter_ZV, System.IO.Path.GetFileNameWithoutExtension(ColdParameter_Filename), FileNumber.ToString, dokumentid, zvtyp, zvauftrag))
End Select
owriter.Close()
End Sub
Private Function ParsParamDfg(ByVal sOrgString As String, ByVal sFilename As String, ByVal sDokumentNr As String, ByVal dokumentid As String, Optional zvtyp As String = "", Optional ZVAuftrag As String = "") As String
ParsParamDfg = sOrgString
'Parsing Parameter
'##PartnerNR## = Partner Nummer
'##DokID## = Dokument ID
'##DokTyp## = Dokumenttyp
'##AuftragNr## = Auftrag-Nr
'##Paginator## = Paginator
'##FileName## = Dateiname
Try
'Partner Nummer
'Dokument ID
ParsParamDfg = ParsParamDfg.Replace("##DokID##", dokumentid)
'DokumentTyp
ParsParamDfg = ParsParamDfg.Replace("##DokTyp##", zvtyp)
'AuftragsNr
ParsParamDfg = ParsParamDfg.Replace("##AuftragNr##", ZVAuftrag)
'PaginatorNr
ParsParamDfg = ParsParamDfg.Replace("##Paginator##", dokumentid)
'FileName
ParsParamDfg = ParsParamDfg.Replace("##FileName##", sFilename + sDokumentNr)
Catch ex As Exception
PrintOut("Fehler beim Erstellen der Cold-Parameter: " + ex.Message)
End Try
End Function
End Class
Binary file not shown.
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="EDKB17.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
<userSettings>
<EDKB17.My.MySettings>
<setting name="EDOKA_Connection" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Journale_Connectoin" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka_journale;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Temp_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17</value>
</setting>
<setting name="TimerIntervall_in_Sekunden" serializeAs="String">
<value>2</value>
</setting>
<setting name="ZIP_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17\ZIP</value>
</setting>
<setting name="Cold_Param_EDOKA_Partner" serializeAs="String">
<value>[-f "TGKB EDOKA-Partner"] [-G TGKB-C35-EW-EDOKA-Put1.0] [-i " NRDOC00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Parameter_ZV" serializeAs="String">
<value>[-f "TGKB ZV-Scanning Belege"] [-i "where NRDOT00 = '##DokTyp##' and NRAUF00 = '##AuftragNr##' and NRDOC00 = '##Paginator##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="DemoMode" serializeAs="String">
<value>True</value>
</setting>
<setting name="Cold_Param_Host" serializeAs="String">
<value>[-f "TGKB Kundenoutput ab 01.08.2008"] [-G TGKB-C35-10-XOMA-Rel1.0] [-i "where MAILINGID = ##DokID##"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Strukturaufloesen" serializeAs="String">
<value>True</value>
</setting>
<setting name="tgz_return" serializeAs="String">
<value>True</value>
</setting>
</EDKB17.My.MySettings>
</userSettings>
</configuration>
Binary file not shown.
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="EDKB17.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
<userSettings>
<EDKB17.My.MySettings>
<setting name="EDOKA_Connection" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Journale_Connectoin" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka_journale;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Temp_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17</value>
</setting>
<setting name="TimerIntervall_in_Sekunden" serializeAs="String">
<value>2</value>
</setting>
<setting name="ZIP_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17\ZIP</value>
</setting>
<setting name="Cold_Param_EDOKA_Partner" serializeAs="String">
<value>[-f "TGKB EDOKA-Partner"] [-G TGKB-C35-EW-EDOKA-Put1.0] [-i " NRDOC00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Parameter_ZV" serializeAs="String">
<value>[-f "TGKB ZV-Scanning Belege"] [-i "where NRDOT00 = '##DokTyp##' and NRAUF00 = '##AuftragNr##' and NRDOC00 = '##Paginator##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="DemoMode" serializeAs="String">
<value>True</value>
</setting>
<setting name="Cold_Param_Host" serializeAs="String">
<value>[-f "TGKB Kundenoutput ab 01.08.2008"] [-G TGKB-C35-10-XOMA-Rel1.0] [-i "where MAILINGID = ##DokID##"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Strukturaufloesen" serializeAs="String">
<value>True</value>
</setting>
<setting name="tgz_return" serializeAs="String">
<value>True</value>
</setting>
</EDKB17.My.MySettings>
</userSettings>
</configuration>
@@ -0,0 +1,38 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
EDKB17
</name>
</assembly>
<members>
<member name="T:EDKB17.ClsParameters">
<summary>Klasse zum auselesen der Steuerparameter aus der Datei
\bin\parameters.cfg</summary>
<author>Stefan Hutter</author>
</member>
<member name="M:EDKB17.ClsParameters.Loadparameters">
<summary>Laden der Parameterdaten aus parameters.cfg</summary>
<remarks>Die Funktion lädt für die Anwendung die notwendigen Parameter aus der
Datei "Parameters.cfg"</remarks>
<returns>True im OK-Fall
False im Fehlerfall</returns>
</member>
<member name="T:EDKB17.My.Resources.Resources">
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
</member>
<member name="P:EDKB17.My.Resources.Resources.ResourceManager">
<summary>
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
</summary>
</member>
<member name="P:EDKB17.My.Resources.Resources.Culture">
<summary>
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
</summary>
</member>
</members>
</doc>
@@ -0,0 +1,150 @@
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Die Deinstallation wurde gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Die Deinstallation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Die Deinstallation wurde gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Die Deinstallation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Syncfusion.DocIO.Windows</name>
</assembly>
<members>
</members>
</doc>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,160 @@
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Dienst EDKB17 wird installiert...
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Der vorherige Zustand des Ereignisprotokolls für die Quelle EDKB17 wird wiederhergestellt.
Während der Rollbackphase des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Dienst EDKB17 wird installiert...
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Der vorherige Zustand des Ereignisprotokolls für die Quelle EDKB17 wird wiederhergestellt.
Während der Rollbackphase des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Dienst EDKB17 wird installiert...
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Der vorherige Zustand des Ereignisprotokolls für die Quelle EDKB17 wird wiederhergestellt.
Während der Rollbackphase des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird deinstalliert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Die EventLog-Quelle EDKB17 wird entfernt.
Während der Deinstallation des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Deinstallation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und die Deinstallation wird fortgesetzt. Die Anwendung wird jedoch möglicherweise nicht vollständig deinstalliert.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Dienst EDKB17 wird installiert...
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Der vorherige Zustand des Ereignisprotokolls für die Quelle EDKB17 wird wiederhergestellt.
Während der Rollbackphase des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird deinstalliert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Die EventLog-Quelle EDKB17 wird entfernt.
Während der Deinstallation des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Deinstallation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und die Deinstallation wird fortgesetzt. Die Anwendung wird jedoch möglicherweise nicht vollständig deinstalliert.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Dienst EDKB17 wird installiert...
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Der vorherige Zustand des Ereignisprotokolls für die Quelle EDKB17 wird wiederhergestellt.
Während der Rollbackphase des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Dienst EDKB17 wird installiert...
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Der vorherige Zustand des Ereignisprotokolls für die Quelle EDKB17 wird wiederhergestellt.
Während der Rollbackphase des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Dienst EDKB17 wird installiert...
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Der vorherige Zustand des Ereignisprotokolls für die Quelle EDKB17 wird wiederhergestellt.
Während der Rollbackphase des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Dienst EDKB17 wird installiert...
Dienst EDKB17 wurde installiert.
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird ausgeführt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird deinstalliert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Die EventLog-Quelle EDKB17 wird entfernt.
Der Dienst EDKB17 wird vom System entfernt...
Dienst EDKB17 wurde vom System entfernt.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe wird deinstalliert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
Die EventLog-Quelle EDKB17 wird entfernt.
Warnung: Die Quelle EDKB17 ist nicht auf dem lokalen Computer registriert.
Der Dienst EDKB17 wird vom System entfernt...
Dienst EDKB17 wurde vom System entfernt.
@@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:x="http://www.w3.org/2001/XMLSchema" z:Id="1" z:Type="System.Collections.Hashtable" z:Assembly="0" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><LoadFactor z:Id="2" z:Type="System.Single" z:Assembly="0" xmlns="">0.72</LoadFactor><Version z:Id="3" z:Type="System.Int32" z:Assembly="0" xmlns="">2</Version><Comparer i:nil="true" xmlns="" /><HashCodeProvider i:nil="true" xmlns="" /><HashSize z:Id="4" z:Type="System.Int32" z:Assembly="0" xmlns="">3</HashSize><Keys z:Id="5" z:Type="System.Object[]" z:Assembly="0" z:Size="2" xmlns=""><anyType z:Id="6" z:Type="System.String" z:Assembly="0" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">_reserved_nestedSavedStates</anyType><anyType z:Id="7" z:Type="System.String" z:Assembly="0" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">_reserved_lastInstallerAttempted</anyType></Keys><Values z:Id="8" z:Type="System.Object[]" z:Assembly="0" z:Size="2" xmlns=""><anyType z:Id="9" z:Type="System.Collections.IDictionary[]" z:Assembly="0" z:Size="1" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><ArrayOfKeyValueOfanyTypeanyType z:Id="10" z:Type="System.Collections.Hashtable" z:Assembly="0"><LoadFactor z:Id="11" z:Type="System.Single" z:Assembly="0" xmlns="">0.72</LoadFactor><Version z:Id="12" z:Type="System.Int32" z:Assembly="0" xmlns="">2</Version><Comparer i:nil="true" xmlns="" /><HashCodeProvider i:nil="true" xmlns="" /><HashSize z:Id="13" z:Type="System.Int32" z:Assembly="0" xmlns="">3</HashSize><Keys z:Id="14" z:Type="System.Object[]" z:Assembly="0" z:Size="2" xmlns=""><anyType z:Ref="6" i:nil="true" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /><anyType z:Ref="7" i:nil="true" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /></Keys><Values z:Id="15" z:Type="System.Object[]" z:Assembly="0" z:Size="2" xmlns=""><anyType z:Id="16" z:Type="System.Collections.IDictionary[]" z:Assembly="0" z:Size="2" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><ArrayOfKeyValueOfanyTypeanyType z:Id="17" z:Type="System.Collections.Hashtable" z:Assembly="0"><LoadFactor z:Id="18" z:Type="System.Single" z:Assembly="0" xmlns="">0.72</LoadFactor><Version z:Id="19" z:Type="System.Int32" z:Assembly="0" xmlns="">4</Version><Comparer i:nil="true" xmlns="" /><HashCodeProvider i:nil="true" xmlns="" /><HashSize z:Id="20" z:Type="System.Int32" z:Assembly="0" xmlns="">7</HashSize><Keys z:Id="21" z:Type="System.Object[]" z:Assembly="0" z:Size="3" xmlns=""><anyType z:Ref="6" i:nil="true" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /><anyType z:Id="22" z:Type="System.String" z:Assembly="0" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">Account</anyType><anyType z:Ref="7" i:nil="true" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /></Keys><Values z:Id="23" z:Type="System.Object[]" z:Assembly="0" z:Size="3" xmlns=""><anyType z:Id="24" z:Type="System.Collections.IDictionary[]" z:Assembly="0" z:Size="0" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /><anyType z:Id="25" z:Type="System.ServiceProcess.ServiceAccount" z:Assembly="System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">LocalSystem</anyType><anyType z:Id="26" z:Type="System.Int32" z:Assembly="0" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">-1</anyType></Values></ArrayOfKeyValueOfanyTypeanyType><ArrayOfKeyValueOfanyTypeanyType z:Id="27" z:Type="System.Collections.Hashtable" z:Assembly="0"><LoadFactor z:Id="28" z:Type="System.Single" z:Assembly="0" xmlns="">0.72</LoadFactor><Version z:Id="29" z:Type="System.Int32" z:Assembly="0" xmlns="">4</Version><Comparer i:nil="true" xmlns="" /><HashCodeProvider i:nil="true" xmlns="" /><HashSize z:Id="30" z:Type="System.Int32" z:Assembly="0" xmlns="">7</HashSize><Keys z:Id="31" z:Type="System.Object[]" z:Assembly="0" z:Size="3" xmlns=""><anyType z:Id="32" z:Type="System.String" z:Assembly="0" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">installed</anyType><anyType z:Ref="6" i:nil="true" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /><anyType z:Ref="7" i:nil="true" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /></Keys><Values z:Id="33" z:Type="System.Object[]" z:Assembly="0" z:Size="3" xmlns=""><anyType z:Id="34" z:Type="System.Boolean" z:Assembly="0" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">true</anyType><anyType z:Id="35" z:Type="System.Collections.IDictionary[]" z:Assembly="0" z:Size="1" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><ArrayOfKeyValueOfanyTypeanyType z:Id="36" z:Type="System.CollLine truncated
@@ -0,0 +1,2 @@
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
pause
@@ -0,0 +1,2 @@
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil /u E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe
pause
@@ -0,0 +1,11 @@
@echo OFF
echo Stopping old service version...
net stop "EDKB17"
echo Uninstalling old service version...
sc delete "EDKB17"
echo Installing service...
rem DO NOT remove the space after "binpath="!
sc create "EDKB17" binpath= "E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Debug\edkb17.exe" start= auto
echo Starting server complete
pause
Binary file not shown.
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="EDKB17.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
<userSettings>
<EDKB17.My.MySettings>
<setting name="EDOKA_Connection" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Journale_Connectoin" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka_journale;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Temp_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17</value>
</setting>
<setting name="TimerIntervall_in_Sekunden" serializeAs="String">
<value>2</value>
</setting>
<setting name="ZIP_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17\ZIP</value>
</setting>
<setting name="Cold_Param_EDOKA_Partner" serializeAs="String">
<value>[-f "TGKB EDOKA-Partner"] [-G TGKB-C35-EW-EDOKA-Put1.0] [-i " NRDOC00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Parameter_ZV" serializeAs="String">
<value>[-f "TGKB ZV-Scanning Belege"] [-i "where NRDOT00 = '##DokTyp##' and NRAUF00 = '##AuftragNr##' and NRDOC00 = '##Paginator##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Param_Host" serializeAs="String">
<value>[-f "TGKB Kundenoutput AGI-OMS ab 20.01.2002"] [-G TGKB-C35-10-OMS-Rel1.0] [-i "where NRDOK00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="DemoMode" serializeAs="String">
<value>True</value>
</setting>
</EDKB17.My.MySettings>
</userSettings>
</configuration>
Binary file not shown.
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="EDKB17.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
<userSettings>
<EDKB17.My.MySettings>
<setting name="EDOKA_Connection" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Journale_Connectoin" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka_journale;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Temp_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17</value>
</setting>
<setting name="TimerIntervall_in_Sekunden" serializeAs="String">
<value>2</value>
</setting>
<setting name="ZIP_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17\ZIP</value>
</setting>
<setting name="Cold_Param_EDOKA_Partner" serializeAs="String">
<value>[-f "TGKB EDOKA-Partner"] [-G TGKB-C35-EW-EDOKA-Put1.0] [-i " NRDOC00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Parameter_ZV" serializeAs="String">
<value>[-f "TGKB ZV-Scanning Belege"] [-i "where NRDOT00 = '##DokTyp##' and NRAUF00 = '##AuftragNr##' and NRDOC00 = '##Paginator##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Param_Host" serializeAs="String">
<value>[-f "TGKB Kundenoutput AGI-OMS ab 20.01.2002"] [-G TGKB-C35-10-OMS-Rel1.0] [-i "where NRDOK00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="DemoMode" serializeAs="String">
<value>True</value>
</setting>
</EDKB17.My.MySettings>
</userSettings>
</configuration>
@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC-Manifestoptionen
Wenn Sie die Ebene der Benutzerkontensteuerung für Windows ändern möchten, ersetzen Sie den
Knoten "requestedExecutionLevel" wie folgt.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Durch Angabe des Elements "requestedExecutionLevel" wird die Datei- und Registrierungsvirtualisierung deaktiviert.
Entfernen Sie dieses Element, wenn diese Virtualisierung aus Gründen der Abwärtskompatibilität
für die Anwendung erforderlich ist.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Eine Liste der Windows-Versionen, unter denen diese Anwendung getestet
und für die sie entwickelt wurde. Wenn Sie die Auskommentierung der entsprechenden Elemente aufheben,
wird von Windows automatisch die kompatibelste Umgebung ausgewählt. -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- Gibt an, dass die Anwendung mit DPI-Werten kompatibel ist und von Windows nicht automatisch auf höhere
DPI-Werte skaliert wird. WPF-Anwendungen (Windows Presentation Foundation) sind automatisch mit DPI-Werten kompatibel und müssen sich nicht
anmelden. Für Windows Forms-Anwendungen für .NET Framework 4.6, die sich für diese Einstellung anmelden, muss
auch die Einstellung "'EnableWindowsFormsHighDpiAutoResizing" in der "app.config" auf "true" festgelegt werden. -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
<!-- Designs für allgemeine Windows-Steuerelemente und -Dialogfelder (Windows XP und höher) aktivieren -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>
@@ -0,0 +1,38 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
EDKB17
</name>
</assembly>
<members>
<member name="T:EDKB17.ClsParameters">
<summary>Klasse zum auselesen der Steuerparameter aus der Datei
\bin\parameters.cfg</summary>
<author>Stefan Hutter</author>
</member>
<member name="M:EDKB17.ClsParameters.Loadparameters">
<summary>Laden der Parameterdaten aus parameters.cfg</summary>
<remarks>Die Funktion lädt für die Anwendung die notwendigen Parameter aus der
Datei "Parameters.cfg"</remarks>
<returns>True im OK-Fall
False im Fehlerfall</returns>
</member>
<member name="T:EDKB17.My.Resources.Resources">
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
</member>
<member name="P:EDKB17.My.Resources.Resources.ResourceManager">
<summary>
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
</summary>
</member>
<member name="P:EDKB17.My.Resources.Resources.Culture">
<summary>
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
</summary>
</member>
</members>
</doc>
@@ -0,0 +1,116 @@
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Die Installationsphase ist abgeschlossen, und die Commitphase beginnt.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Die Commitphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.InvalidOperationException: Die Diensteinstallation in der ausführbaren Datei E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wurde vom Benutzer abgebrochen.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.InvalidOperationException: Die Diensteinstallation in der ausführbaren Datei E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wurde vom Benutzer abgebrochen.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.ComponentModel.Win32Exception: Zugriff verweigert
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.ComponentModel.Win32Exception: Zugriff verweigert
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.ComponentModel.Win32Exception: Zugriff verweigert
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
Eine transaktive Installation wird ausgeführt.
Die Installationsphase wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Während der Installationsphase ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enthält den Fortschritt der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe.
Die Datei befindet sich in E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog.
Die Rollbackphase wurde erfolgreich abgeschlossen.
Die transaktive Installation ist abgeschlossen.
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Syncfusion.DocIO.Windows</name>
</assembly>
<members>
</members>
</doc>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,104 @@
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Keine öffentlichen Installer mit dem RunInstallerAttribute.Yes-Attribut in der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe gefunden.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird ausgeführt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Keine öffentlichen Installer mit dem RunInstallerAttribute.Yes-Attribut in der Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe gefunden.
Die InstallState-Datei wird entfernt, da keine Installer vorhanden sind.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Während der Rollbackphase des Installers System.ServiceProcess.ServiceProcessInstaller ist eine Ausnahme aufgetreten.
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Während der Rollbackphase des Installers System.ServiceProcess.ServiceProcessInstaller ist eine Ausnahme aufgetreten.
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Während der Rollbackphase des Installers System.ServiceProcess.ServiceProcessInstaller ist eine Ausnahme aufgetreten.
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Dienst EDKB17 wird installiert...
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Der vorherige Zustand des Ereignisprotokolls für die Quelle EDKB17 wird wiederhergestellt.
Während der Rollbackphase des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird installiert.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Dienst EDKB17 wird installiert...
Die EventLog-Quelle EDKB17 im Protokoll Application wird erstellt...
Assembly E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe wird zurückgesetzt.
Betroffene Parameter:
logtoconsole =
logfile = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.InstallLog
assemblypath = E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
Der vorherige Zustand des Ereignisprotokolls für die Quelle EDKB17 wird wiederhergestellt.
Während der Rollbackphase des Installers System.Diagnostics.EventLogInstaller ist eine Ausnahme aufgetreten.
System.Security.SecurityException: Die Quelle wurde nicht gefunden, aber einige oder alle Ereignisprotokolle konnten nicht durchsucht werden. Protokolle, auf die kein Zugriff möglich war: Security.
Während der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprüngliche Zustand des Computers wird jedoch möglicherweise nicht vollständig wiederhergestellt, nachdem der Rollback beendet ist.
Binary file not shown.
@@ -0,0 +1,2 @@
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil E:\Software-Projekte\EDOKA\batch\EDKB17\EDKB17\EDKB17\bin\Release\edkb17.exe
pause
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="EDKB17.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
<userSettings>
<EDKB17.My.MySettings>
<setting name="EDOKA_Connection" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Journale_Connectoin" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka_journale;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Temp_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17</value>
</setting>
<setting name="TimerIntervall_in_Sekunden" serializeAs="String">
<value>2</value>
</setting>
<setting name="ZIP_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17\ZIP</value>
</setting>
<setting name="Cold_Param_EDOKA_Partner" serializeAs="String">
<value>[-f "TGKB EDOKA-Partner"] [-G TGKB-C35-EW-EDOKA-Put1.0] [-i " NRDOC00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Parameter_ZV" serializeAs="String">
<value>[-f "TGKB ZV-Scanning Belege"] [-i "where NRDOT00 = '##DokTyp##' and NRAUF00 = '##AuftragNr##' and NRDOC00 = '##Paginator##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Param_Host" serializeAs="String">
<value>[-f "TGKB Kundenoutput AGI-OMS ab 20.01.2002"] [-G TGKB-C35-10-OMS-Rel1.0] [-i "where NRDOK00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="DemoMode" serializeAs="String">
<value>True</value>
</setting>
</EDKB17.My.MySettings>
</userSettings>
</configuration>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="EDKB17.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
<userSettings>
<EDKB17.My.MySettings>
<setting name="EDOKA_Connection" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Journale_Connectoin" serializeAs="String">
<value>Data Source=shu00;Initial Catalog=edoka_journale;Persist Security Info=False;workstation id =;packet size=4096;User ID=sa;Password=*shu29</value>
</setting>
<setting name="Temp_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17</value>
</setting>
<setting name="TimerIntervall_in_Sekunden" serializeAs="String">
<value>2</value>
</setting>
<setting name="ZIP_Folder" serializeAs="String">
<value>K:\EDOKA\EDKB17\ZIP</value>
</setting>
<setting name="Cold_Param_EDOKA_Partner" serializeAs="String">
<value>[-f "TGKB EDOKA-Partner"] [-G TGKB-C35-EW-EDOKA-Put1.0] [-i " NRDOC00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Parameter_ZV" serializeAs="String">
<value>[-f "TGKB ZV-Scanning Belege"] [-i "where NRDOT00 = '##DokTyp##' and NRAUF00 = '##AuftragNr##' and NRDOC00 = '##Paginator##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="Cold_Param_Host" serializeAs="String">
<value>[-f "TGKB Kundenoutput AGI-OMS ab 20.01.2002"] [-G TGKB-C35-10-OMS-Rel1.0] [-i "where NRDOK00 = '##DokID##'"] [-o ##FileName##] [-a] [-c] [-N]</value>
</setting>
<setting name="DemoMode" serializeAs="String">
<value>True</value>
</setting>
</EDKB17.My.MySettings>
</userSettings>
</configuration>
@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC-Manifestoptionen
Wenn Sie die Ebene der Benutzerkontensteuerung für Windows ändern möchten, ersetzen Sie den
Knoten "requestedExecutionLevel" wie folgt.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Durch Angabe des Elements "requestedExecutionLevel" wird die Datei- und Registrierungsvirtualisierung deaktiviert.
Entfernen Sie dieses Element, wenn diese Virtualisierung aus Gründen der Abwärtskompatibilität
für die Anwendung erforderlich ist.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Eine Liste der Windows-Versionen, unter denen diese Anwendung getestet
und für die sie entwickelt wurde. Wenn Sie die Auskommentierung der entsprechenden Elemente aufheben,
wird von Windows automatisch die kompatibelste Umgebung ausgewählt. -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- Gibt an, dass die Anwendung mit DPI-Werten kompatibel ist und von Windows nicht automatisch auf höhere
DPI-Werte skaliert wird. WPF-Anwendungen (Windows Presentation Foundation) sind automatisch mit DPI-Werten kompatibel und müssen sich nicht
anmelden. Für Windows Forms-Anwendungen für .NET Framework 4.6, die sich für diese Einstellung anmelden, muss
auch die Einstellung "'EnableWindowsFormsHighDpiAutoResizing" in der "app.config" auf "true" festgelegt werden. -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
<!-- Designs für allgemeine Windows-Steuerelemente und -Dialogfelder (Windows XP und höher) aktivieren -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>
@@ -0,0 +1,38 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
EDKB17
</name>
</assembly>
<members>
<member name="T:EDKB17.ClsParameters">
<summary>Klasse zum auselesen der Steuerparameter aus der Datei
\bin\parameters.cfg</summary>
<author>Stefan Hutter</author>
</member>
<member name="M:EDKB17.ClsParameters.Loadparameters">
<summary>Laden der Parameterdaten aus parameters.cfg</summary>
<remarks>Die Funktion lädt für die Anwendung die notwendigen Parameter aus der
Datei "Parameters.cfg"</remarks>
<returns>True im OK-Fall
False im Fehlerfall</returns>
</member>
<member name="T:EDKB17.My.Resources.Resources">
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
</member>
<member name="P:EDKB17.My.Resources.Resources.ResourceManager">
<summary>
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
</summary>
</member>
<member name="P:EDKB17.My.Resources.Resources.Culture">
<summary>
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
</summary>
</member>
</members>
</doc>
File diff suppressed because it is too large. Load diff
Loaded 100 of 21969 files, more files were not shown because too many files have changed in this diff. Show more