System.IO, Zugferd, Dakosy-Import Firma gesetzt durch Division1
This commit is contained in:
@@ -667,7 +667,7 @@ Public Class cGetMsgType
|
||||
End Function
|
||||
|
||||
Shared Function isPLOSE_Detail(doc As String) As Boolean
|
||||
Dim lines() As String = IO.File.ReadAllLines(doc)
|
||||
Dim lines() As String = System.IO.File.ReadAllLines(doc)
|
||||
If lines.Count > 0 Then
|
||||
If lines(0).ToString.Replace("""", "").StartsWith("TR5") Or (lines.Count > 1 AndAlso (lines(0).ToString.Replace("""", "").StartsWith("TR1") And lines(1).ToString.Replace("""", "").StartsWith("TR5"))) Then
|
||||
Return True
|
||||
@@ -676,7 +676,7 @@ Public Class cGetMsgType
|
||||
Return False
|
||||
End Function
|
||||
Shared Function isPLOSE_Header(doc As String) As Boolean
|
||||
Dim lines() As String = IO.File.ReadAllLines(doc)
|
||||
Dim lines() As String = System.IO.File.ReadAllLines(doc)
|
||||
If lines.Count > 0 Then
|
||||
If lines(0).ToString.Replace("""", "").StartsWith("TR6") Then
|
||||
Return True
|
||||
@@ -685,7 +685,7 @@ Public Class cGetMsgType
|
||||
Return False
|
||||
End Function
|
||||
Shared Function isPLOSE_INVData(doc As String) As Boolean
|
||||
Dim lines() As String = IO.File.ReadAllLines(doc)
|
||||
Dim lines() As String = System.IO.File.ReadAllLines(doc)
|
||||
|
||||
If lines.Count > 0 Then
|
||||
If lines(0).ToString.Replace("""", "").StartsWith("PloseCode") Then
|
||||
|
||||
Reference in New Issue
Block a user