Kleinigkeiten... glaub ich ....

This commit is contained in:
ms
2021-03-05 08:55:08 +01:00
parent 82e83c6a70
commit 1870307007
24 changed files with 931 additions and 180 deletions

View File

@@ -845,4 +845,14 @@ Public Class Class1
Next
End Sub
Public Shared Function WriteToFile(filepath As String, texttowrite As String)
Try
Dim objWriter As New System.IO.StreamWriter(filepath)
objWriter.Write(texttowrite)
objWriter.Close()
Catch ex As Exception
MsgBox(filepath & vbCrLf & " konnte nicht geschrieben werden." & vbCrLf & ex.Message)
End Try
End Function
End Class