Standarddrucker

This commit is contained in:
2022-11-25 11:54:47 +01:00
parent abbf016761
commit 132ae678a0

View File

@@ -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