This commit is contained in:
SchreiberM 2021-07-27 14:13:37 +02:00
parent a3d2226cbf
commit f3a8fe1cab
9 changed files with 15 additions and 6 deletions

View File

@ -104,6 +104,7 @@
<File Id="DigitalData.Modules.Language.dll" Name="DigitalData.Modules.Language.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Language.dll" Name="DigitalData.Modules.Language.dll" KeyPath="no" Checksum="yes"/>
<File Id="DigitalData.Modules.Logging.dll" Name="DigitalData.Modules.Logging.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Logging.dll" Name="DigitalData.Modules.Logging.dll" KeyPath="no" Checksum="yes"/>
<File Id="DigitalData.Modules.Windream.dll" Name="DigitalData.Modules.Windream.dll" KeyPath="no" Checksum="yes"/> <File Id="DigitalData.Modules.Windream.dll" Name="DigitalData.Modules.Windream.dll" KeyPath="no" Checksum="yes"/>
<File Id="DigitalData.Modules.Database.dll" Name="DigitalData.Modules.Database.dll" KeyPath="no" Checksum="yes"/>
</Component> </Component>
<Component Id="MiscLibs" Guid="6a621556-dac9-48e2-b50c-624191d26845"> <Component Id="MiscLibs" Guid="6a621556-dac9-48e2-b50c-624191d26845">

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,7 @@ E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigForm\bin\Debug\DevExpress.Utils.v19.2
E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigForm\bin\Debug\DevExpress.XtraBars.v19.2.dll E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigForm\bin\Debug\DevExpress.XtraBars.v19.2.dll
E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigForm\bin\Debug\DevExpress.XtraEditors.v19.2.dll E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigForm\bin\Debug\DevExpress.XtraEditors.v19.2.dll
E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigConsoleApp\bin\Debug\DigitalData.Modules.Config.dll E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigConsoleApp\bin\Debug\DigitalData.Modules.Config.dll
E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigConsoleApp\bin\Debug\DigitalData.Modules.Database.dll
E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigConsoleApp\bin\Debug\DigitalData.Modules.Filesystem.dll E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigConsoleApp\bin\Debug\DigitalData.Modules.Filesystem.dll
E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigConsoleApp\bin\Debug\DigitalData.Modules.Language.dll E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigConsoleApp\bin\Debug\DigitalData.Modules.Language.dll
E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigConsoleApp\bin\Debug\DigitalData.Modules.Logging.dll E:\SchreiberM\Visual Studio\GIT\WIDIG\WIDigConsoleApp\bin\Debug\DigitalData.Modules.Logging.dll

BIN
UpgradeLog.htm Normal file

Binary file not shown.

View File

@ -11,7 +11,10 @@ Module Module1
Public _database As MSSQLServer Public _database As MSSQLServer
Public oRegExArg As String Public oRegExArg As String
Public Function Main(args As String()) As Integer Public Function Main(args As String()) As Integer
Dim oReturnResult As Integer
Try Try
oReturnResult = 0
' Console.WriteLine("Starting up WIDig...") ' Console.WriteLine("Starting up WIDig...")
Dim opath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) Dim opath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
Dim oLogConfig As New LogConfig(LogConfig.PathType.AppData, Nothing, Nothing, Dim oLogConfig As New LogConfig(LogConfig.PathType.AppData, Nothing, Nothing,
@ -36,6 +39,7 @@ Module Module1
System.Console.WriteLine($"Parsed all arguments!") System.Console.WriteLine($"Parsed all arguments!")
If StreamIndexFile() = True Then If StreamIndexFile() = True Then
oErrorImport = False oErrorImport = False
oReturnResult = 1
Else Else
System.Console.WriteLine($"###Error in StreamIndexFile!####") System.Console.WriteLine($"###Error in StreamIndexFile!####")
oErrorImport = True oErrorImport = True
@ -56,6 +60,7 @@ Module Module1
Else Else
oErrorMessage = "Could not initialize windream" oErrorMessage = "Could not initialize windream"
End If End If
@ -64,13 +69,15 @@ Module Module1
System.Console.WriteLine("### For more information check the log! Press any key to exit! ####") System.Console.WriteLine("### For more information check the log! Press any key to exit! ####")
System.Console.WriteLine($"####################") System.Console.WriteLine($"####################")
Console.ReadKey() Console.ReadKey()
Return 0 oReturnResult = 0
Else Else
Return 1 oReturnResult = 1
End If End If
Return oReturnResult
Catch ex As Exception Catch ex As Exception
LOGGER.Error(ex) LOGGER.Error(ex)
Return 0 Return oReturnResult
End Try End Try
End Function End Function

View File

@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben: ' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")> ' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.2.0.0")> <Assembly: AssemblyVersion("1.3.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")> <Assembly: AssemblyFileVersion("1.0.0.0")>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>-Mode%40IMPV -Source%40E:\TEMP\TEST.pdf -Target%40"W:\ImportWIDIG\Testfile.pdf" -WMOT%40"DIGITAL DATA - Entwicklung" -index%40Integer 24={0815}#~#Vektor_Text1={ValueX~#~ValueY}</StartArguments> <StartArguments>-Mode%40IMPV -Source%40E:\TEMP\TEST.pdf -Target%40"W:\ImportWIDIG\Testfile1.pdf" -WMOT%40"DIGITAL DATA - Entwicklung" -index%40Integer 24={0815}#~#Vektor_Text1={"Wert 1"~#~"Wert 2"}</StartArguments>
</PropertyGroup> </PropertyGroup>
</Project> </Project>