Initial commit

This commit is contained in:
2020-10-21 10:43:18 +02:00
commit 56bd02798f
5848 changed files with 2659025 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
Imports System.IO
Module Module1
Dim ds As New DataSet
Sub Main()
Dim subdir As Integer = 0
Dim outputpath As String
outputpath = My.Settings.OutputPath + subdir.ToString + "\"
System.IO.Directory.CreateDirectory(outputpath)
Dim i As Integer
FileOpen(1, My.Settings.InputFile, OpenMode.Input)
Dim s As String
Dim Filename As String
ds.ReadXml(My.Settings.Strukturfile)
ds.Tables(0).Rows.Clear()
While Not EOF(1)
Input(1, s)
i = i + 1
If i > 500 Then
i = 0
ds.WriteXml(outputpath + s + ".ind")
ds.Tables(0).Rows.Clear()
subdir = subdir + 1
outputpath = My.Settings.OutputPath + subdir.ToString + "\"
System.IO.Directory.CreateDirectory(outputpath)
End If
Dim dr As DataRow
Filename = s + "_AGB.pdf"
dr = ds.Tables(0).NewRow
For Each c As DataColumn In ds.Tables(0).Columns
dr(c.ColumnName) = ""
Next
dr("Partnernr") = s
dr("Funktion") = "ADD"
dr("Dokumenttypnr") = My.Settings.Doktype.ToString
dr("dateiname") = Filename
dr("Dateiformat") = "PDF"
dr("Ersteller") = My.Settings.Ersteller
dr("dokumentwert2") = ""
ds.Tables(0).Rows.Add(dr)
System.IO.File.Copy(My.Settings.AGBFile, outputpath + Filename)
End While
ds.WriteXml(outputpath + s + ".ind")
End Sub
End Module

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<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">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

View File

@@ -0,0 +1,10 @@
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\bin\Debug\AGB_Gen.exe.config
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\bin\Debug\AGB_Gen.exe
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\bin\Debug\AGB_Gen.pdb
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\bin\Debug\AGB_Gen.xml
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\obj\Debug\AGB_Gen.vbprojResolveAssemblyReference.cache
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\obj\Debug\AGB_Gen.Resources.resources
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\obj\Debug\AGB_Gen.vbproj.GenerateResource.Cache
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\obj\Debug\AGB_Gen.exe
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\obj\Debug\AGB_Gen.xml
E:\Software-Projekte\EDOKA\tools\AGB_Gen\AGB_Gen\obj\Debug\AGB_Gen.pdb