Standarddrucker
This commit is contained in:
@@ -45,7 +45,7 @@ Public Class frmWechselStandarddrucker
|
|||||||
Private Function changetxtFileForPrinter(printerFile As String) As Boolean
|
Private Function changetxtFileForPrinter(printerFile As String) As Boolean
|
||||||
|
|
||||||
Dim changed As Boolean = False
|
Dim changed As Boolean = False
|
||||||
|
Try
|
||||||
If File.Exists(printerFile) Then
|
If File.Exists(printerFile) Then
|
||||||
Dim l = IO.File.ReadAllLines(printerFile, System.Text.Encoding.Default)
|
Dim l = IO.File.ReadAllLines(printerFile, System.Text.Encoding.Default)
|
||||||
If l.Count > 0 Then
|
If l.Count > 0 Then
|
||||||
@@ -75,6 +75,9 @@ Public Class frmWechselStandarddrucker
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
Return changed
|
Return changed
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox(ex.Message)
|
||||||
|
End Try
|
||||||
|
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user